Corrected as per @iirelu's comment

This commit is contained in:
Andre Polykanine A.K.A. Menelion Elensúlë 2014-10-09 23:06:24 +03:00
parent 39d8753d52
commit 68c9aed134
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ to Python 2.x. Look for another tour of Python 3 soon!
7 % 3 # => 1
# Exponentiation (x to the y'th power)
2 ** 4 # => 16
2**4 # => 16
# Enforce precedence with parentheses
(1 + 3) * 2 # => 8

View File

@ -52,7 +52,7 @@ Note: This article applies to Python 3 specifically. Check out the other tutoria
7 % 3 # => 1
# Exponentiation (x to the y'th power)
2 ** 4 # => 16
2**4 # => 16
# Enforce precedence with parentheses
(1 + 3) * 2 # => 8