I wrote a program which I tested in the IDE of python 3.2, it worked but whenever I open the program directly or run from command prompt, it doesn't run correctly, after the user inputs the correct answer, the program keeps saying try again. here's the program it's in the code snippet area
I tried it in python 3.1 command line and it worked.
Any suggestions, Is this a bug.
Jump to Post
That mean you got a logic error. check your while and if loops well.
All 5 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.