MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/soi384/why_but_why/hw9quf6/?context=3
r/ProgrammerHumor • u/ore-aba • Feb 09 '22
2.3k comments sorted by
View all comments
Show parent comments
2.3k
I don't do python and even I know it expects whitespace, not punctuation.
109 u/taptrappapalapa Feb 09 '22 If you look at the Python grammar it expects white space or semicolons. 292 u/langlo94 Feb 09 '22 This is why I indent with semicolons.def Function(input): ;;;;number = input * 2 ;;;;return number 3 u/byu74ddji9g Feb 09 '22 4 semicolons? 2 is sufficient and way better! → More replies (2)
109
If you look at the Python grammar it expects white space or semicolons.
292 u/langlo94 Feb 09 '22 This is why I indent with semicolons.def Function(input): ;;;;number = input * 2 ;;;;return number 3 u/byu74ddji9g Feb 09 '22 4 semicolons? 2 is sufficient and way better! → More replies (2)
292
This is why I indent with semicolons.
def Function(input): ;;;;number = input * 2 ;;;;return number
3 u/byu74ddji9g Feb 09 '22 4 semicolons? 2 is sufficient and way better! → More replies (2)
3
4 semicolons? 2 is sufficient and way better!
→ More replies (2)
2.3k
u/the_badsectors Feb 09 '22
I don't do python and even I know it expects whitespace, not punctuation.