Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
RexOmni5468yDidn't it send the sender as the first argument? Instead of other function calls in Python which require you to send the variable manually
-
willol13898y@RexOmni mh we probably aren't talking about the same thing, in talking about the common at the end of if/while/def/class statements :)
-
willol13898y@le717 indentation is here to define blocks. If we'd remove the colon from the language's grammar, nothing would change, there would be no trouble to know what's inside a if statement
-
DeimonDB48y@willol never thought about it. But now thanks to you, I'll hate everytime i write ':' in python
-
The colon does make it possible for Python wrappers and shells to know when to indent when writing code.
Related Rants
The ':' in Python. Seriously, what the fuck?? It's literally useless!
undefined
i love you
i hate you
wk30
python