User Input in Python

User Input in Python

Assessment

Flashcard

Computers

8th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

8 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is missing from this input statement? input ("What is your name? ")

Back

a variable to store the input

2.

FLASHCARD QUESTION

Front

What would be printed from the print command in the following code:
name = input ("What is your name? ")
print (name)?

Back

whatever the user wrote

3.

FLASHCARD QUESTION

Front

If the user answered "John" to the first question and "23" to the second, what will be printed?

Back

23

4.

FLASHCARD QUESTION

Front

If the user answered "John" to the first question and "23" to the second, what will be printed?

Back

John

5.

FLASHCARD QUESTION

Front

If the user answered "John" to the first question and "23" to the second, what will be printed?

Back

an error message

6.

FLASHCARD QUESTION

Front

If the user answered "John" to the first question and "23" to the second, what will be printed?

Back

name

7.

FLASHCARD QUESTION

Front

If the user answered "John" to the first question and "23" to the second, what type of data is in name?

Back

str

8.

FLASHCARD QUESTION

Front

If the user answered "John" to the first question and "23" to the second, what type of data is in age?

Back

str