+ 3
is semicolon is used to terminate the line in Python as we do in c/c++
9 Respuestas
+ 22
No, the compiler doesn't need semicolon to understand that the line of code has ended
+ 6
Python in fact treats most lines as atomic, unless they end with an unfinished {, (, [ or the literal continuation: \.
+ 2
Python works on line to line compilation. so, you don't have to give semicolons to end the statement.
+ 1
yes you have to use semicolon in python for terminating the statement if you are going to write a next statement in the same line otherwise it's not necessary to use in python.
+ 1
No it's not all needed
0
semicolon just states that it is a single segment or statement of code, just as a period is used in a general English sentence.
0
no we dont use a semicolon as we do in c++.instead we leave it alone
- 1
it is possible
- 5
oh fuck