Discover Python and Patterns (3): Branching – Design Patterns and Video Games

Programs in the previous post always lead to the same result. Here, I show you the basics of branching, or how to change the flow of a program depending on cases. If statement If we want to display a message … Continue reading →… Read more

Similar

Beginner’s Python Cheat Sheets

Cheat sheets can be really helpful when you’re trying a set of exercises related to a specific topic, or working on a project. Because you can only fit so much information on a single sheet of paper, most cheat sheets are a simple listing of syntax rules.... (more…)

Read more »