Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren1 Antwort
+ 2
You only need them if you want to write two statements in one line:
print(1); print(0)
If you don't do that, don't use them. Python takes your 'enter' as the end of the line, so a ; doesn't add any value.