mirror of
https://github.com/satwikkansal/wtfpython
synced 2024-11-25 04:24:23 +01:00
# noqa: E999 # pylint: disable=mixed-indentation
This commit is contained in:
parent
c0a8151153
commit
68c675bb8e
@ -1,7 +1,7 @@
|
|||||||
def square(x):
|
def square(x):
|
||||||
sum_so_far = 0
|
sum_so_far = 0
|
||||||
for counter in range(x):
|
for _ in range(x):
|
||||||
sum_so_far = sum_so_far + x
|
sum_so_far += x
|
||||||
return sum_so_far # noqa: E999 # pylint: disable=bad-indentation Python 3 will raise a TabError here
|
return sum_so_far # noqa: E999 # pylint: disable=mixed-indentation Python 3 will raise a TabError here
|
||||||
|
|
||||||
print(square(10))
|
print(square(10))
|
||||||
|
Loading…
Reference in New Issue
Block a user