Multiple choice

What command/function do we use to read a value from the user?

  1. int()

  2. input()

  3. get()

  4. print()

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The input() function is the standard Python command used to pause program execution and capture text entered by the user via the keyboard.