New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IDLE/Command Line Output Differ #37042
Comments
Platform: OS X 10.1.5 Code (from Python Tutorial sec. 4.4) [I don't know if my >>> for n in range(2, 10):
... for x in range(2, n):
... if n % x == 0:
... print n, 'equals', x, '*', n/x
... break
... else:
... # loop fell through without finding a factor
... print n, 'is a prime number' Result in IDLE: 3 is a prime number Result using (xterm) command line matched example given in 2 is a prime number |
Logged In: YES Apparently this is a bug in the INPUT to IDLE, |
Logged In: YES UPDATE: This issue all appears if I use OS X's default terminal. Same output as |
Logged In: YES Hello James, It looks like your bug report has an error in that it is Thank you for submitting the bug report. If you find Raymond Hettinger |
Logged In: YES Wow. Apparently I need a better prescription for my glasses. I I tried it Please accept my humble apologies. I don't know why I couldn't "see" |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: