first commit
This commit is contained in:
parent
abc6526143
commit
26631f9b48
24 changed files with 1089 additions and 1 deletions
9
Exercise/exercise-2.1.py
Normal file
9
Exercise/exercise-2.1.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# 请尝试修改list以满足输出
|
||||
|
||||
list_a = [0]
|
||||
|
||||
list_a += ['Hello'] * 5
|
||||
list_a += [4, 5] * 3
|
||||
|
||||
# 输出[0, 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 4, 5, 4, 5, 4, 5]
|
||||
print(list_a)
|
||||
Loading…
Add table
Add a link
Reference in a new issue