Python List and Tuples

Flashcard
•
Computers
•
Professional Development
•
Hard
Wayground Content
FREE Resource
Student preview

14 questions
Show all answers
1.
FLASHCARD QUESTION
Front
If list=[17,23,41,10] then list.append(32) will result
Back
[17,23,41,10,32]
2.
FLASHCARD QUESTION
Front
Which python function can be used to add more than one element within an existing list? Options: append( ), append_more( ), extend( ), more( )
Back
extend( )
3.
FLASHCARD QUESTION
Front
What output will this code produce? Options: red, ['blue', 'green', 'red'], ['red', 'green', 'blue'], error
Back
['red', 'green', 'blue']
4.
FLASHCARD QUESTION
Front
What is the output of the following list operation
aList = [10, 20, 30, 40, 50, 60, 70, 80]
print(aList[2:5])
print(aList[:4])
print(aList[3:])
Back
[30, 40, 50]
[10, 20, 30, 40]
[40, 50, 60, 70, 80]
5.
FLASHCARD QUESTION
Front
In Python, list is mutable
Back
True
6.
FLASHCARD QUESTION
Front
___________method adds a single item to the end of the list.
Back
append( )
7.
FLASHCARD QUESTION
Front
What is the value of list1 when the statement, list1+=list2 is executed?
Back
[10, 20, 30, 40, 15, 25, 35, 45]
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Access Chapter 1

Flashcard
•
Professional Development
15 questions
CSE 102 Exam 3 Practice

Flashcard
•
University
15 questions
CSE 102 Exam 3 Practice

Flashcard
•
University
12 questions
Hashing and Hash Tables

Flashcard
•
University
9 questions
Conceptos Fundamentales de Python

Flashcard
•
Professional Development
9 questions
Lists and Tuples in Python

Flashcard
•
KG
9 questions
Lists and Tuples

Flashcard
•
KG
12 questions
User-Defined DS

Flashcard
•
University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

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

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
5 questions
Setting goals for the year

Quiz
•
Professional Development
14 questions
Disney Trivia

Quiz
•
Professional Development
14 questions
2019 Logos

Quiz
•
Professional Development
7 questions
How to Email your Teacher

Quiz
•
Professional Development
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Employability Skills

Quiz
•
Professional Development