Basic IF statement in Python

Publié le: 29 mai 2022
sur la chaîne: Computer Science with DM
5
0

An IF statement is used for decision making. It is vital to use the correct syntax, otherwise it will not work. An IF statement starts with an if in lower case. The colon : means 'then'. For example, if the condition is true THEN print 'success!'
After the colon, there should be an indentation (space at the front) on the next line, for example when writing the print statement.


Sur cette page du site, vous pouvez voir la vidéo en ligne Basic IF statement in Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Computer Science with DM 29 mai 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 5 fois et il a aimé 0 téléspectateurs. Bon visionnage!