## 使用列表的一部分

number = ['1','2','3','4','5','6','7']
print(number[0:3])

for nb in number[0:3]:
    print(nb)
number2 = number[:]
print(number2)


c3972ad3a11543e0d8d52fd44eb866c971879d10
<mask token>

<mask token>
print(number[0:3])
for nb in number[0:3]:
    print(nb)
<mask token>
print(number2)

number = ['1', '2', '3', '4', '5', '6', '7']
print(number[0:3])
for nb in number[0:3]:
    print(nb)
number2 = number[:]
print(number2)

## 使用列表的一部分

number = ['1','2','3','4','5','6','7']
print(number[0:3])

for nb in number[0:3]:
    print(nb)
number2 = number[:]
print(number2)

