• Unit 3: Input and Flow Control Statements

    If you have mastered the previous units, you now have the ability to put together a series of sequential Python instructions capable of performing some basic calculations. You also have the ability to format those results and output them to the screen. This unit covers "program flow control", which is necessary for programs to make decisions based upon a set of logical conditions. Your knowledge of relational and logical operators will be pivotal for applying a new set of Python commands that will enable you to control your program's flow. We will also introduce the "input" command so that the keyboard can be used to input data into a program.

    Completing this unit should take you approximately 4 hours.

    • 3.1: Reading Data from the Keyboard

    • 3.2: Using Conditional Statements

    • 3.3: Loop and Iterations

    • 3.4: Further Study

    • Unit 3 Assessment

      • Receive a grade