0

"" and not ' '? Also semicolons?

Should I use print("Hello world!") or print('Hello world!')? Also why is there no semicolon needed? Thanks!

23rd Aug 2020, 12:33 AM
Sahiba Kaur
Sahiba Kaur - avatar
1 Resposta
+ 3
Python uses newline character as a statement terminator instead of ";".
23rd Aug 2020, 12:41 AM
Arsenic
Arsenic - avatar