Python If Else and Code Branching

Python, like most programming languages, has an if statement that provides branching in your code.


List, Dictionary & Tuples

Tuples are often used for homogenous data that the programmer doesn't want changed by accident. It's a good idea to use a tuple instead of a list if you have a list of items that should not be changed.