Which of the following statement will create list?
Python Lists

Quiz
•
Computers
•
8th Grade
•
Easy
Raja Meenakshi
Used 1+ times
FREE Resource
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
a. L1=list( )
b. L1=[1,2,3,4]
c. Both of the above
d. None of the above
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Write the output of the following code : list(“welcome”)
a. [‘w’, ‘e’, ‘l’, ‘c’, ‘o’, ‘m’, ‘e’]
b. (‘w’, ‘e’, ‘l’, ‘c’, ‘o’, ‘m’, ‘e’)
c. [‘welcome’]
d. None of the above
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Write the output of the following code :
>>> L=[“Amit”,”Anita”,”Zee”,”Longest Word”]
>>> print(max(L))
a. Zee
b. Longest Word
c. Error
d. None of the above
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Find out the output
a. 15 9 1
b. Error
c. Max and Min are only for String Value
d. None of the above
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
what is the output
a. [6, 7, 8]
b. 6, 7, 8
c. Error
d. 6
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Find the output
a. ['Sumit',‘Naina’]
b. [a]
c. ['Sumit']
d. None of the above
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which command is used to add an element in List named L1
a. L1.add(4)
b. L1.append(4)
c. L1.new(4)
d. None of the above
Create a free account and access millions of resources
Similar Resources on Quizizz
30 questions
NRIT_Python_Quiz-01

Quiz
•
University
30 questions
Code debugging - Round 1

Quiz
•
University
30 questions
Python Basic Programming

Quiz
•
University
35 questions
Comp Thinking & Programming - Python 1

Quiz
•
University
26 questions
Hacking quiz

Quiz
•
University
26 questions
R Quiz

Quiz
•
University
28 questions
Python List

Quiz
•
12th Grade
28 questions
Python slicing

Quiz
•
10th 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
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade