在 Python 中,什么是可迭代对象?

Week3 上周知识点回顾

Quiz
•
Information Technology (IT)
•
University
•
Medium

Nila Zhang
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
一个可以永久存储数据元素的对象。
一个数据元素不可更改的对象。
一个可以数据元素可以被分别提取的对象。
一个数据元素可以被修改的对象
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
以下哪种是 Python 中的不可变数据类型?
列表
集合
字典
元组
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
以下哪种数据结构是有序的?
字典
集合
列表
以上都不是
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
以下代码的输出是什么:mylist = [1, 2, 3]; mylist[1] = 4?
[1, 2, 3]
[1, 2, 4]
[4, 2, 3]
[1, 4, 3]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
以下哪种方法可以用来反转一个列表?
reverse()
insert()
sort()
append()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
'pop()' 方法的作用是什么?
将一个元素添加到列表中。
从列表任意移除一个元素。
从列表中移除并返回一个元素。
清空整个列表。
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
如何在 Python 中创建一个空列表?
都不对
list() 和 []
[]
list()
Create a free account and access millions of resources
Similar Resources on Quizizz
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Information Technology (IT)
10 questions
Identifying equations

Quiz
•
KG - University
16 questions
Chapter 8 - Getting Along with your Supervisor

Quiz
•
3rd Grade - Professio...
6 questions
Railroad Operations and Classifications Quiz

Quiz
•
University
71 questions
Logos

Quiz
•
3rd Grade - University
8 questions
Mali - Geography

Quiz
•
University