summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndre Polykanine A.K.A. Menelion Elensúlë <andre@oire.org>2014-10-09 23:06:24 +0300
committerAndre Polykanine A.K.A. Menelion Elensúlë <andre@oire.org>2014-10-09 23:06:24 +0300
commit68c9aed1346fe20df741014de415f4297460dc67 (patch)
treef6aafa4ec08f83e65049f6fb77a5c8eccd047996
parent39d8753d5285348b998a7b87ae68614acf816df8 (diff)
Corrected as per @iirelu's comment
-rw-r--r--python.html.markdown2
-rw-r--r--python3.html.markdown2
2 files changed, 2 insertions, 2 deletions
diff --git a/python.html.markdown b/python.html.markdown
index a980b6dc..cac9d539 100644
--- a/python.html.markdown
+++ b/python.html.markdown
@@ -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
diff --git a/python3.html.markdown b/python3.html.markdown
index 6fce9bf7..e478e57f 100644
--- a/python3.html.markdown
+++ b/python3.html.markdown
@@ -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