Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
If 10 < 5: Why the colon?
2 Respostas
+ 3
It is part of the python syntax. It tells the interpreter where the end of the condition is and to expect an indentation of code for the if statement. Without it, the code would produce an error.
0
Thank you, your reply is very clear and helpful.