From 07797121cc290ede0b3d3cf02068f3d993cddd15 Mon Sep 17 00:00:00 2001 From: Erlend Egeberg Aasland Date: Fri, 14 May 2021 21:09:08 +0200 Subject: bpo-43729: Clarify comment in tutorial example (GH-25191) --- Doc/tutorial/introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 2a16661..4613cf7 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -73,7 +73,7 @@ operator; to calculate the remainder you can use ``%``:: 5 >>> 17 % 3 # the % operator returns the remainder of the division 2 - >>> 5 * 3 + 2 # result * divisor + remainder + >>> 5 * 3 + 2 # floored quotient * divisor + remainder 17 With Python, it is possible to use the ``**`` operator to calculate powers [#]_:: -- cgit v0.12