

Midtest
Presentation
•
World Languages
•
KG
•
Practice Problem
•
Hard
joeee joeee
Used 2+ times
FREE Resource
1 Slide • 4 Questions
1
reference code to finish test
2
Multiple Choice
Joe wants to add the number 6 to the end of the list.
Which one of the following is the correct way to do so?
1. numbers.add(6)
2. numbers.append(6) 3. numbers.push(6) 4. numbers.put(6)
Find the same example code as option
fruits.append('grape') print(fruits) # ['banana', 'apple', 'kiwi', 'banana', 'pear', 'apple', 'orange', 'grape']
fruits.pop() print(fruits) # ['banana', 'apple', 'kiwi', 'banana', 'pear', 'apple', 'orange']
fruits.remove('apple') print(fruits) # ['banana', 'kiwi', 'banana', 'pear', 'apple', 'orange']
print(fruits[1]) # 'kiwi'
3
Multiple Choice
Joe changes his mind. That is, he does not end up adding 6 to the end of the list. Instead, Joe wants to remove the last number 2 from the end of the list.
Which one of the following is the correct way to do so?
1. numbers.pop()
2. numbers.delete() 3. numbers.erase() 4. numbers.remove()
fruits.append('grape') print(fruits) # ['banana', 'apple', 'kiwi', 'banana', 'pear', 'apple', 'orange', 'grape']
fruits.pop() print(fruits) # ['banana', 'apple', 'kiwi', 'banana', 'pear', 'apple', 'orange']
fruits.remove('apple') print(fruits) # ['banana', 'kiwi', 'banana', 'pear', 'apple', 'orange']
print(fruits[1]) # 'kiwi'
4
Multiple Choice
Joe now also wants to remove the first number 1 from the list. Which one of the following is the correct way to do so?
1. numbers.pop(1)
2. numbers.delete(1) 3. numbers.erase(1) 4. numbers.remove(1)
fruits.append('grape') print(fruits) # ['banana', 'apple', 'kiwi', 'banana', 'pear', 'apple', 'orange', 'grape']
fruits.pop() print(fruits) # ['banana', 'apple', 'kiwi', 'banana', 'pear', 'apple', 'orange']
fruits.remove('apple') print(fruits) # ['banana', 'kiwi', 'banana', 'pear', 'apple', 'orange']
print(fruits[1]) # 'kiwi'
5
Multiple Choice
Joe wants to retrieve the second number 5 from the list.
Which one of the following is the correct way to do so?
1. numbers[1] 2. numbers[2] 3. numbers[5]
fruits.append('grape') print(fruits) # ['banana', 'apple', 'kiwi', 'banana', 'pear', 'apple', 'orange', 'grape']
fruits.pop() print(fruits) # ['banana', 'apple', 'kiwi', 'banana', 'pear', 'apple', 'orange']
fruits.remove('apple') print(fruits) # ['banana', 'kiwi', 'banana', 'pear', 'apple', 'orange']
print(fruits[1]) # 'kiwi'
reference code to finish test
Show answer
Auto Play
Slide 1 / 5
SLIDE
Similar Resources on Wayground
6 questions
Mathematics with Jenna-multiplcation for 3rd grade
Presentation
•
2nd - 3rd Grade
8 questions
Grade 7 Lesson 1
Presentation
•
7th Grade
4 questions
Ελληνική κουζίνα
Presentation
•
5th - 6th Grade
6 questions
Poser une question
Presentation
•
1st - 5th Grade
5 questions
3A. El desayuno, la comida y las bebidas
Presentation
•
8th Grade
2 questions
Parts of a word processor window
Presentation
•
5th Grade
5 questions
Πρωινό στη Γαλλία
Presentation
•
5th - 6th Grade
3 questions
Quizlet and Google Forms
Presentation
•
University
Popular Resources on Wayground
10 questions
HCS SCI 03 Summer School Assessment 1
Quiz
•
3rd Grade
15 questions
HCS SCI 05 Summer School Assessment 1 Review
Quiz
•
5th Grade
22 questions
Day 9 Equations and Inequalities Review
Quiz
•
9th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
7 questions
PYRAMID PERSPECTIVES part 1
Presentation
•
9th - 12th Grade
12 questions
Understanding the Fourth of July
Quiz
•
9th Grade
15 questions
Soccer World Cup Quiz Questions
Quiz
•
7th Grade