OUR LEARNING JOURNEY

Learning Objectives

By the end of this lesson, you will understand how a Python program can receive information from a user.

By the end of the lesson, I will be able to:

  1. Explain the purpose of Python’s input() function.
  2. Identify the prompt displayed by input().
  3. Write a basic input() statement using correct syntax.
  4. Store user-entered information in a variable.
  5. Create and execute a simple Python program that accepts user input.

Key vocabulary

input()functionpromptuser inputvariableassignment operatorstring