News

This post explains how to use if statements in Python. This will form the backbone of much of your code going forward! Else statements, nesting, + more.
Each case statement is followed by a pattern to match against. In the above example we’re using simple strings as our match targets, but more complex matches are possible.