Let's look at control flow in imperative languages. In Python, we can use the if statement, along with the elif and else blocks, to control how the data should manipulate the program.
Support me by buying from Amazon through my affiliate link: https://amzn.to/2FBNVwA
Here's my Patreon account if you want to give me money: / realphysics
Other ways to support Real Physics: • How to Support Real Physics
Playlist: • Theory of Python
Thank you!