1
0
Fork 0
mirror of https://github.com/satwikkansal/wtfpython synced 2025-07-04 20:38:06 +02:00

Add more examples and correct description of existing ones

This commit is contained in:
Satwik Kansal 2017-08-30 03:12:17 +05:30
parent 57386e5a1b
commit 585f02fe39
2 changed files with 129 additions and 4 deletions

6
mixed_tabs_and_spaces.py Executable file
View file

@ -0,0 +1,6 @@
def square(x):
runningtotal = 0
for counter in range(x):
runningtotal = runningtotal + x
return runningtotal
print(square(10))