Python_List_fun

Quiz
•
Computers
•
•
Hard
GHIS 2023
Used 11+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which List is Correct
my_list =
[1, "Hello", 3.4]
my_list = [1, 2, 3.4]
my_list = [ ]
All the previous
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To add items to a python list
insert()
append()
Extend()
All previous
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
numbers = [21, 34, 54, 12]
numbers.----------------(32)
#The output is [21, 34, 54, 12,32]
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
my_list = [1, "Hello", 3.4]
The index of "Hello" in the previous list is ------------
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To Combine items of two lists in python we use ---------------- method
extend()
insert()
merge()
all previous
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
vowel = ['a', 'e', 'i', 'u']
vowel.----------------(3, 'o')
print('List:', vowel)
# Output: List: ['a', 'e', 'i', 'o', 'u']
append
pop
insert
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
languages = ['Python', 'Swift', 'C++', 'C', 'Java', 'Rust', 'R']
languages.---------------('Python')
print(languages)
# The Output is ['Swift', 'C++', 'C', 'Java', 'Rust', 'R']
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Списки Python + Pygame

Quiz
•
KG - University
15 questions
Python Lists

Quiz
•
10th - 12th Grade
10 questions
BT1 2023

Quiz
•
University
15 questions
CSE 102 Exam 2 Practice

Quiz
•
University
10 questions
Python lists & file operations

Quiz
•
10th Grade
15 questions
Python Quiz

Quiz
•
12th Grade
11 questions
Javascript Lists Lecture Knowledge Check

Quiz
•
9th - 12th Grade
15 questions
Week 7 Quiz

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade