+ 1
Does using ; at any point in python causes any prob .
7 RĂ©ponses
+ 5
Semicolon at the end of line is redundant and not necessary in python. End of line implies the end of statement. You can put it between two statements on a single line
x = 1; y = 7
But this is not pythonic style and you should not use it really.
+ 8
As far as I know, Python doesn't uses ';'(semicolon) it uses ':' (colon) and it's used at the end of functions.
It's(semicolons)used in other languages but not in python.
Also, don't use irrelevant tags.
You've tagged (translated from Hindi to English):
'Does your toothpaste have salt?'
What's this??
It makes me laugh đ
Edit: You've edited your question now.
It's fine now.
+ 6
It will always give a syntax error (mostly)
Show me where you've used it and you got no error.
And please stop using irrelevant tags because it reduces the accuracy of search bar.
Nothing works fine by using irrelevant tags.
Edit: Okay, I didn't knew about it, Thanks Tibor Santa for telling me about it but it's still not mostly used.
+ 3
yes
+ 3
+ 1
Rishabh
When i used semicolon all things went perfect no syntax error or something like that am asking will it cause any error/s later
N i like using irrevelant tags always work fine for me đ
https://code.sololearn.com/cKHtc0UXVezV/?ref=app