© Connor P. Milliken 2020
C. P. MillikenPython Projects for Beginnershttps://doi.org/10.1007/978-1-4842-5355-7_3

3. User Input and Conditionals

Connor P. Milliken1 
Derry, NH, USA

Welcome to Week 3! This week we’ll be introducing how to work with user input and making decisions within our programs. These “decisions” are known as branching statements or conditionals. If you think of your life every day, you make decisions based on specific conditions without knowing, such as when to get up in the morning, what to have for lunch, when to eat, etc. These are known as branching statements. The same applies in programming, where we need to have the computer make decisions.

  • Working with user input

  • How to use “if” statements to make decisions

Get Python Projects for Beginners: A Ten-Week Bootcamp Approach to Python Programming now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.