From e901344c04c49d63d5687dc9e1615935acb1ed13 Mon Sep 17 00:00:00 2001 From: Adam Bard Date: Wed, 5 Apr 2017 12:02:35 -0700 Subject: [Python] Slightly tweak ** example 2^4 == 4^2, 2^3 seems a bit less ambiguous as an example for exponentiation. --- python3.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python3.html.markdown') 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 -- cgit v1.2.3