On Wednesday, December 2, 2015 at 7:09:23 PM UTC, Ian wrote:
> On Wed, Dec 2, 2015 at 12:58 PM, Dylan Riley wrote:
> > hi all,
> > I have been trying to figure out all day why my code is printing single
> > characters from my list when i print random elements using r
hi all,
I have been trying to figure out all day why my code is printing single
characters from my list when i print random elements using random.choice the
elements in the list are not single characters for example when i print,
print(LIST[random.choice]) i get:
["e", "x", "a", "m", "p", "l", "
i am learning python and was tasked with making a program that flips a coin 100
times and then tells you
the number of heads and tails.
I have done so coming up with this piece of work but it doesnt run can anyone
help me out?
#This is credited to dylan
print(" \\ \\ \\ \\ \\ \\ \\ \\ D FLIPS
On Friday, November 20, 2015 at 11:06:05 PM UTC, Rob Gaddi wrote:
> On Fri, 20 Nov 2015 15:15:42 -0500, Terry Reedy wrote:
>
> > On 11/20/2015 12:22 PM, Dylan Riley wrote:
> >> This is my fortune cookie program i wrote in python.
> >> the problem is it will not ru
This is my fortune cookie program i wrote in python.
the problem is it will not run past the first line of input.
could someone please identify the error and explain to me why.
here is the code:
#the program silulates a fortune cookie
#the program should display one of five unique fortunes, at ran