How to define a list in python ?
Python-advanced

Quiz
•
Computers
•
1st - 4th Grade
•
Medium
afnan amin
Used 19+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
my list=[1,2,3]
my_list={1,2,3)
my_list=[1,2,3]
mylist=1,2,3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to add number 10 to this list?
myList=[1,2,3,4]
myList.append(10)
myList.insert(0,10)
both correct
none of the answers is correct
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
myList=["ahmed","alaa,"mostafa","Malak","Hajar","leen"]
how to change values ("mostafa","Malak","Hajar") with values
("ahlam","Momen,"asmaa")
PLEASE KEEP SPACE BETWEEN THE TWO LINES THAT YOU WILL WRITE
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to remove "ahmed" from this list ?
myList=["ahmed","alaa","mostafa","Malak","Hajar","leen"]
myList.delete
("ahmed")
myList.remove
("ahmed")
myList.delete
(0)
myList.remove
(0)
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
How to sort this list?
myList=[2,5,3,1,4,6]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x=4
y=4
if x>y:
print("yes")
elif x<y: print("No")
else: print("no condition met")
what will be the output?
yes
no
no condition met
error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
firstname="ahlam"
secondname="samir"
if (firstname==secondname):
print("true")
else:
print("false")
true
false
error
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
secondchar='a'
firstchar='A'
if (secondchar==firstchar):
print("yes")
else:
print("NO")
yes
no
error
Similar Resources on Quizizz
10 questions
Python-Partie2

Quiz
•
1st Grade
10 questions
แบบทดสอบวิทยาการคำนวณก่อน ปลายภาค

Quiz
•
3rd Grade
10 questions
Списки Python + Pygame

Quiz
•
KG - University
13 questions
I can do it! Grade 02

Quiz
•
2nd Grade
10 questions
Intro to Python

Quiz
•
KG - University
9 questions
Technology Procedures

Quiz
•
3rd - 8th Grade
10 questions
Python_Lecția_3

Quiz
•
1st Grade
10 questions
Python

Quiz
•
1st - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
15 questions
Character Analysis

Quiz
•
4th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
10 questions
Identifying equations

Quiz
•
KG - University
14 questions
IREAD-3 Practice Test

Quiz
•
3rd Grade
15 questions
Multiplication Facts

Quiz
•
4th Grade
10 questions
Perimeter of Polygons!

Quiz
•
3rd Grade
20 questions
Addition and Subtraction

Quiz
•
4th Grade
20 questions
Multiplication Facts

Quiz
•
4th Grade