Commit 2293f46d by BellCodeEditor

save project

parent ac8beb22
Showing with 3 additions and 6 deletions
a=['吕布'] hero=['赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98,'张宇',100]
b=["袁术","公孙瓒","刘备","关羽","张飞","曹操"] for i in range(len(hero)):
b[2:5] \ No newline at end of file
a.extend(b[2:5])
print(a)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment