diff options
Diffstat (limited to 'docs/examples/tutorial/pure/dostuff.py')
-rw-r--r-- | docs/examples/tutorial/pure/dostuff.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/examples/tutorial/pure/dostuff.py b/docs/examples/tutorial/pure/dostuff.py index 748c31b10..7a88533c5 100644 --- a/docs/examples/tutorial/pure/dostuff.py +++ b/docs/examples/tutorial/pure/dostuff.py @@ -1,5 +1,5 @@ -def dostuff(n):
- t = 0
- for i in range(n):
- t += i
- return t
+def dostuff(n): + t = 0 + for i in range(n): + t += i + return t |