error help import random

Chris Angelico rosuav at gmail.com
Fri Nov 20 12:30:42 EST 2015


On Sat, Nov 21, 2015 at 4:22 AM, Dylan Riley <dylan.riley at hotmail.com> wrote:
> 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 randon, each time its run
>
> import random

Actually, you could help us identify the error. What happens when you
run it? Show us exactly how you invoke it and what the output is.

ChrisA



More information about the Python-list mailing list