Skip to content
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

Page 51 Program output Correction #52

Open
REN-IT opened this issue Jul 10, 2017 · 3 comments
Open

Page 51 Program output Correction #52

REN-IT opened this issue Jul 10, 2017 · 3 comments

Comments

@REN-IT
Copy link

REN-IT commented Jul 10, 2017

Hi,

Just a quick message about your Python 学习笔记 第二版.pdf

On page 51 :

for x in xrange(3):
... print x
... if x > 1: break
... else:
...
print "over!"

Program output would be:

0
over!
1
over!
2

@qyuhen
Copy link
Owner

qyuhen commented Jul 10, 2017 via email

@REN-IT
Copy link
Author

REN-IT commented Jul 12, 2017

Thanks, I see.

@zachzhao1984
Copy link

Asd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants