Please enable JavaScript to use CodeHS

Chapter 1

Python and Console Interaction

1.4 User Input

User Input

Type Conversion

Check Your Understanding

  1. Invalid Answer

Exercise: A New Bicycle


Term Definition
input() A function that prints a prompt and retrieves text from the user.

Do you have feedback on this lesson? Let us know here
Rate this lesson:

Feedback on this lesson:

Issue found (optional):