QuestionQ28

VerifiedPython/PyEZ

What is the proper Python script syntax for prompting a user for input?

Explanation

In Python, input() is called with parentheses around a quoted prompt string, and its returned value can be assigned to a variable using =.

Community Discussion

No comments yet. Be the first to start the discussion!