Python Programming 5. If Statements

Publié le: 05 juin 2021
sur la chaîne: Computer Science Lessons
4,473
55

This is the fifth in a course of computer science video lessons introducing programming with Python. It shows you how to use the If statement to execute a block of code, or not, depending on the contents of a variable. You will also see how an If statement can include several elif clauses, plus a final else clause, to execute one block of code only, depending on a group of several related tests. You will learn about the importance of correct indentation when defining blocks of code for an If statement. You will also see how Python uses two equal signs to test for equality. You will see a program that allows the user to enter a country, and outputs a country specific greeting.


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Programming 5. If Statements durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Computer Science Lessons 05 juin 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 4,473 fois et il a aimé 55 téléspectateurs. Bon visionnage!