MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/91ol3u/me_doing_my_cs_projects/e327hdd/?context=3
r/Python • u/iFocus • Jul 25 '18
213 comments sorted by
View all comments
Show parent comments
1
It was a short answer but it is correct.
Indentation will break, how should python interpret a function with 2 spaces for two lines, and then the next lines are tabs?
For one person it will look like they have the same indentation (mr 2 spaces) for the next it will look wrong.
Easier to have no ambiguity and use spaces.
1
u/crunk Jul 26 '18
It was a short answer but it is correct.
Indentation will break, how should python interpret a function with 2 spaces for two lines, and then the next lines are tabs?
For one person it will look like they have the same indentation (mr 2 spaces) for the next it will look wrong.
Easier to have no ambiguity and use spaces.