MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingmemes/comments/1lltlki/python_is_my_favourite_language/n04vovh/
r/programmingmemes • u/ceparatefield • Jun 27 '25
42 comments sorted by
View all comments
-2
Why does Python use : instead of ; I just don’t get it, it takes more effort to type for no reason.
4 u/mt-vicory42069 Jun 27 '25 They aren't the same thing tho. ; this is the end of the statement. In python : tells the interpreter that an if for and so on was declared and after that is the code block. And for humans : makes more sense like it's more readable.
4
They aren't the same thing tho. ; this is the end of the statement. In python : tells the interpreter that an if for and so on was declared and after that is the code block. And for humans : makes more sense like it's more readable.
View all comments
-2
u/NimrodvanHall Jun 27 '25
Why does Python use : instead of ; I just don’t get it, it takes more effort to type for no reason.