diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 1189ce8cea2..fa412e91497 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -548,8 +548,8 @@ series as follows:: ... # the sum of two elements defines the next ... a, b = 0, 1 >>> while b < 10: - ... print b - ... a, b = b, a+b + ... print(b) + ... a, b = b, a+b ... 1 1