Team 1
0
Team 2
0
Teams
Name
Score
1
2
3
4
5
6
7
8
9
10
11
12
Loading
15
×
hero1 = "Batman" hero2 = "Batman" print(hero1 == hero2)
Output: True
Oops!
Check
Okay!
Check
×
banana
Go to last place!
Oops!
×
magnet
Take 10 points!
Okay!
×
fairy
Take points!
5
10
15
20
25
×
thief
Give points!
5
10
15
20
25
15
×
Which operator is used to check both conditions are True?A) or B) and C) not D) =
B) and
Oops!
Check
Okay!
Check
15
×
score = 50 score += 10 print(score) A) 10 B) 50 C) 60 D) Error
C) 60
Oops!
Check
Okay!
Check
15
×
a = "Python" b = "python" print(a == b) A) True B) False C) Error D) None
False
Oops!
Check
Okay!
Check
15
×
x = 8 y = 3 print(x % y) A) 2 B) 1 C) 3 D) 8
2
Oops!
Check
Okay!
Check
×
baam
Lose 10 points!
Oops!
×
gift
Win 20 points!
Okay!
×
rocket
Go to first place!
Okay!
×
baam
Lose 10 points!
Oops!
×
trap
No points!
Oops!
×
seesaw
Swap points!
Okay!
×
fairy
Take points!
5
10
15
20
25
×
banana
Go to last place!
Oops!
15
×
Which of the following is a valid variable name in Python? A) 2cool4school B) my_variable C) break D) my-variable
my_variable
Oops!
Check
Okay!
Check
15
×
Which of the following is NOT a valid operator in Python? A) and B) or C) not D) but
11)but
Oops!
Check
Okay!
Check
15
×
Which of these is a Boolean value? A) 1 B) "True" C) False D) 0
C) False
Oops!
Check
Okay!
Check
15
×
x = 10 y = 5 print(x + y) A) 15 B) 105 C) 5 D) 10
15
Oops!
Check
Okay!
Check
×
Restart
Review
Join for Free
;
Your experience on this site will be improved by allowing cookies.
Allow cookies