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.
e-papa 13 Posting Pro in Training
Recommended Answers
Jump to PostThat mean you got a logic error. check your while and if loops well.
Jump to PostThere is a bug with python 3.2 and command line output from input()
It put on a '\r' character on input() when run from command line.
http://bugs.python.org/issue11272
This will be fix in in 3.3 …
All 5 Replies
richieking 44 Master Poster
e-papa 13 Posting Pro in Training
griswolf 304 Veteran Poster
snippsat 661 Master Poster
e-papa 13 Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.