Python: Learn Python Programming in One Week with Step-by-Step Tutorials by Dr. Michael Lombard

Python: Learn Python Programming in One Week with Step-by-Step Tutorials by Dr. Michael Lombard

Author:Dr. Michael Lombard
Language: eng
Format: azw3, epub
Published: 2017-06-30T07:00:00+00:00


Chapter 3: Control Flow: Booleans, Conditions, and Loops

Earlier we said we were going to talk about Booleans. Well, now’s the time to do that. I briefly explained that Booleans are values which hold whether something is true or false. This is really all that Booleans are.

However, there’s a lot of power behind something so simple. In fact, the entire idea of control flow comes from it. What is control flow? Control flow is the primary means of controlling what your program does and when. Your program can branch into completely different directions depending upon certain variables and conditions, thanks to control flow. This is what allows your program to truly take on a life of its own and accommodate the user and the different conditions in which the program may run. In other words, this is where the logic of your program truly lies.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.