
Python for Beginners (Module 3.1): Reading user input
Authored by Annie Young
Computers
7th Grade
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code display?
print("Hello, World!")
Hello World!
Hello, World!
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to print a string in Python?
print(Hello, Python!)
print("Hello, Python!")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you get input from the user in Python?
input = "Enter your name"
name = input("Enter your name")
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you get input from the user in Python?
input = name("Enter your name")
name = input("Enter your name")
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you get input from the user in Python?
age = input("What is your age? ")
input = ("What is your age? ")
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output?
name = input("What is your name? ")
print(f'Hello, {name}')
Assume the user inputs "John".
Hello, John
What is your name? Hello
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print?
print("Python")
print(Python)
Python
"Python"
"python"
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?