User Input in Python

User Input in Python

Assessment

Flashcard

Computers

8th Grade

Practice Problem

Hard

Created by

Wayground 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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers