1
0
mirror of https://github.com/satwikkansal/wtfpython synced 2024-11-23 19:44:25 +01:00
wtfpython/mixed_tabs_and_spaces.py
Satwik Kansal d325554921 * Fix .gitignore issue
* Add pypi package 🚀
2018-01-22 18:49:09 +05:30

8 lines
205 B
Python

def square(x):
sum_so_far = 0
for _ in range(x):
sum_so_far += x
return sum_so_far # noqa: E999 # pylint: disable=mixed-indentation Python 3 will raise a TabError here
print(square(10))