What will be the result of the code below
x, y, z = "Orange", "Banana", "Cherry"
print(x)
Python3
Quiz
•
Computers
•
4th Grade - University
•
Easy
Opuere Falabi
Used 26+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of the code below
x, y, z = "Orange", "Banana", "Cherry"
print(x)
"Orange", "Banana", "Cherry"
"Banana",
"Banana", "Cherry"
"Orange"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = y = z = "Mango"
print(x)
print(x)
"Mango"
banana
orange
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the code below?
fruits = ["apple", "banana", "cherry"]
x, y, z = fruits
print(z)
"apple"
"cherry"
banana
None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The Python print statement is often used to output variables.
True
False
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Run the code below
x = "awesome"
print("Python is " + x)
"Python awesome is "
"awesome is "
"Python
Python is awesome
None
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = "Python is "
y = "awesome"
z = x + y
What code will you write to bring out the result of z
print(z)
print(x)
print(y)
print(yz)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = "awesome"
def myfunc():
print("Python is " + x)
myfunc()
"Python is
"Python is awesome"
"Python is banana"
"Python is apple"
10 questions
Python Math
Quiz
•
1st - 12th Grade
10 questions
U1_AI-B_Formativo
Quiz
•
12th Grade
10 questions
Python Basics
Quiz
•
University
10 questions
Python Loops Quiz (for loop and while loop)
Quiz
•
10th Grade
15 questions
Section 3A: Collect and process data using lists
Quiz
•
12th Grade
14 questions
циклы в Python
Quiz
•
10th Grade
10 questions
Python(if/else masala)
Quiz
•
10th - 11th Grade
10 questions
Banana Tales Part I (1-40)
Quiz
•
6th - 8th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade