Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок- 3
comment
Do if statements require semicolons?
1 ответ
+ 3
The title is confusing.
Anyway, condtionals require a colon ( : ), not a semi colon at the end.
ex:
if True:
print("Hello world")