mirror of
https://github.com/satwikkansal/wtfpython.git
synced 2025-01-17 04:38:19 +01:00
8 lines
181 B
Python
Executable File
8 lines
181 B
Python
Executable File
def square(x):
|
|
sum_so_far = 0
|
|
for counter in range(x):
|
|
sum_so_far = sum_so_far + x
|
|
return sum_so_far # noqa Python 3 will raise a TabError here
|
|
|
|
print(square(10))
|