StudyPilot
关于博客价格常见问题联系隐私条款

© 2026 StudyPilot. 保留所有权利。

题库INFO1110INFO1110 Week 4 每周题库 · Data Structures 列表、切片、字典与元组

INFO1110 Week 4 每周题库 · Data Structures 列表、切片、字典与元组

Week 4 精选练习:列表、切片、字典、元组与可变性。Curated practice on lists, slicing, dictionaries, tuples and mutability.

0题目
0已练习
0%你的正确率
~0 分钟预计时间
W04 Slicing 切片

What is the value of x after the following code is run?s = 'Hello World' x = s[1:8:2]

W04 Slicing 切片

What is the value of x after the following code is run?s = 'Programming' x = s[-4:][::-1]

W04 Slicing 切片

After the assignment s = 'abcdef', what does s[:-2:-1] evaluate to?

W04 Dictionaries 字典

Which of the following is a valid Python statement when x = {1: 'one', 2: 'two'}?

W04 Tuples 元组

What does the expression (1, 2) + (3,) * 2 evaluate to?

查看全部 →

你的进度

0%0 / 40

已练 0 / 40 · 正确率 0%

开始练习 →
StudyPilot
题库价格日历
登录