What is the output for the following code?
var = 2
var = 3
print (var)
Mod 2 quiz 2
Quiz
•
Scott Freeman
•
Computers
•
9th - 12th Grade
•
1 plays
•
Hard
6 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output for the following code?
var = 2
var = 3
print (var)
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which variable names are illegal in Python? pick 2
my_var
m
101
averylongVarablename
m 101
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of the following code
a = '1'
b = "2"
print (a+b)
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
what is the outcome of the code
a = 6
b = 3
c = a/2*b
print (a)
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
what is the output of this code
# print("string #1")
print("string #2")
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
a multiline
comment. #
print ("Hello!")
10 questions
python quiz
Quiz
•
6th Grade - Professio...
10 questions
C#
Quiz
•
11th Grade
10 questions
Pemrograman Dasar C++
Quiz
•
10th Grade
10 questions
python(strings)
Quiz
•
11th Grade
10 questions
Unit 1 Post Test: Basic Python
Quiz
•
9th - 12th Grade
10 questions
Exploring Python: Input and Output Essentials
Quiz
•
9th Grade - University
11 questions
Python Quiz
Quiz
•
12th Grade
10 questions
Python Input/Output
Quiz
•
9th - 12th Grade
19 questions
Naming Polygons
Quiz
•
3rd Grade
14 questions
Prime Factorization
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
21 questions
6th Grade Math CAASPP Practice
Quiz
•
6th Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
35 questions
4th Grade Math SOL Review
Quiz
•
4th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade