
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
Advanced Excel

Quiz
•
6th - 8th Grade
10 questions
Quiz do Jhoninha

Quiz
•
9th - 12th Grade
10 questions
9.Sınıf quiz2

Quiz
•
1st Grade
10 questions
Semester 2 Refresh

Quiz
•
2nd Grade
10 questions
Bài 9 cấu trúc rẽ nhánh

Quiz
•
11th Grade
10 questions
Ôn tập bài 22 - Kiểu dữ liệu danh sách

Quiz
•
1st Grade
10 questions
TRÒ CHƠI AI NHANH AI ĐÚNG

Quiz
•
1st - 5th Grade
15 questions
N5 AIT - Spreadsheets Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade