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
STRING MANIPULATION (PYTHON)
Quiz
•
11th - 12th Grade
10 questions
Exploring Python: Input and Output Essentials
Quiz
•
9th Grade - University
15 questions
Python introduction
Quiz
•
University
15 questions
PYTHON LIST
Quiz
•
9th Grade
11 questions
Python Quiz
Quiz
•
12th Grade
10 questions
Python Loops Quiz (for loop and while loop)
Quiz
•
10th Grade
10 questions
Python
Quiz
•
7th Grade
10 questions
U1_AI-B_Formativo
Quiz
•
12th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
12 questions
Dividing Fractions
Quiz
•
6th Grade
9 questions
1. Types of Energy
Quiz
•
6th Grade