
Python Learning

Quiz
•
Education, Instructional Technology
•
KG - 3rd Grade
•
Hard
Elchin Salahzada
Used 6+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
>>> a,b=2,3
>>> min=a if a<b else b
>>> min
min=5
min=3
min=2
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
a,b=2,3
min=a if a<b else b
>>> min
print("Hi") if a<b else print("Bye")
Output: ?
Hi
HiBye
ByeHi
Bye
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
for i in range(7):
if i==3:
break
print(i)
1
2
3
4
5
6
7
1
2
4
5
6
1
2
4
5
6
7
1
2
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
for i in range(7):
if i==3:
continue
print(i)
1
2
3
4
5
6
1
2
4
5
6
7
1
2
4
5
6
1
2
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
>>> a=[1,2,4]
>>> a.insert(2,3)
>>> a
(1,2,3,4)
{1,2,3,4}
[1,2,4,2,3]
[1,2,3,4]
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
15%7=?
1
2
22
8
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
>>> colors=['red','green','blue']
>>> type(colors)
<class 'tuple'>
class <'list'>
<class 'set'>
<class 'dict'>
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Management Of T2DM

Quiz
•
Professional Development
14 questions
Photoshop Techniques

Quiz
•
9th - 12th Grade
9 questions
PWD_TP1_TP2_TP3

Quiz
•
University
10 questions
TEKPER KD 3.4

Quiz
•
10th Grade
10 questions
Cấu trúc rẽ nhánh if-elif-else

Quiz
•
11th Grade
10 questions
Moj prvi program 5.r

Quiz
•
5th Grade
15 questions
KT 15p lớp 10_b22,23

Quiz
•
9th - 12th Grade
10 questions
Flutter_Q5

Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade