mirror of
https://github.com/satwikkansal/wtfpython.git
synced 2025-08-06 21:26:32 +02:00
Add more examples and correct description of existing ones
This commit is contained in:
6
mixed_tabs_and_spaces.py
Executable file
6
mixed_tabs_and_spaces.py
Executable file
@@ -0,0 +1,6 @@
|
||||
def square(x):
|
||||
runningtotal = 0
|
||||
for counter in range(x):
|
||||
runningtotal = runningtotal + x
|
||||
return runningtotal
|
||||
print(square(10))
|
Reference in New Issue
Block a user