diff options
author | Adam Bard <github@adambard.com> | 2017-04-05 12:02:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-05 12:02:35 -0700 |
commit | e901344c04c49d63d5687dc9e1615935acb1ed13 (patch) | |
tree | 00c80464c48c6b6b10c63421a3e78bbca3475147 /python3.html.markdown | |
parent | 60c11f43c4672a6c629944bb76df2a337b3af057 (diff) |
[Python] Slightly tweak ** example
2^4 == 4^2, 2^3 seems a bit less ambiguous as an example for exponentiation.
Diffstat (limited to 'python3.html.markdown')
-rw-r--r-- | python3.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python3.html.markdown b/python3.html.markdown index a74ddd7d..cb53eaf8 100644 --- a/python3.html.markdown +++ b/python3.html.markdown @@ -52,7 +52,7 @@ Note: This article applies to Python 3 specifically. Check out [here](http://lea 7 % 3 # => 1 # Exponentiation (x**y, x to the yth power) -2**4 # => 16 +2**3 # => 8 # Enforce precedence with parentheses (1 + 3) * 2 # => 8 |