comment | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
- 3

comment

Do if statements require semicolons?

13th Jun 2017, 7:56 PM
Julieta Avilez
Julieta Avilez - avatar
1 Resposta
+ 3
The title is confusing. Anyway, condtionals require a colon ( : ), not a semi colon at the end. ex: if True: print("Hello world")
13th Jun 2017, 8:07 PM
Sapphire