Python Lists

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

3 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of these pieces of code would return the name "Harry" from the following list?
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
Options:
nameList() ,
nameList[1] ,
NameList(4) ,
nameList["4"]
Back
nameList[1]
2.
FLASHCARD QUESTION
Front
The list needs one more name added to the end - "Felipe". Which piece of code below would do this?
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
Options:
nameList.append(Felipe),
append(nameList,"Felipe"),
nameList.append["Felipe",7],
nameList.append("Felipe")
Back
nameList.append("Felipe")
3.
FLASHCARD QUESTION
Front
To insert the string "strawberries" in the first position of a list we use
Back
fruit.insert(0, "strawberries")
Similar Resources on Wayground
5 questions
Code.org Unit 6 List Review

Flashcard
•
12th Grade
9 questions
PYTHON -- Lists (short)

Flashcard
•
9th - 12th Grade
5 questions
Review Lists in Python (before Lab 8)

Flashcard
•
9th - 12th Grade
9 questions
Unit 5 -- Lists, Loops, Traversals

Flashcard
•
9th - 12th Grade
3 questions
DIA DA SEGURANÇA

Flashcard
•
KG - University
9 questions
Microsoft Outlook Flashcard Review Game-2

Flashcard
•
9th - 12th Grade
6 questions
Fall Semester Exam - Span I

Flashcard
•
9th - 12th Grade
7 questions
Panorama: España - Preguntas de Comprensión

Flashcard
•
9th - 12th Grade
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
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Introduction to Desktop Computer Systems

Quiz
•
9th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Computer Hardware and Input/Output Devices

Interactive video
•
6th - 10th Grade