Commit 594895f8 by BellCodeEditor

save project

parent 26b3b1d4
Showing with 15 additions and 2 deletions
...@@ -10,4 +10,18 @@ bro2=["刘备",161,9.1] ...@@ -10,4 +10,18 @@ bro2=["刘备",161,9.1]
bro3=["张飞",166,8.3] bro3=["张飞",166,8.3]
bros[0]="关羽" bros[0]="关羽"
bros[1]="刘备" bros[1]="刘备"
print(bros) print(bros)
\ No newline at end of file a = ["华"]
b = ["袁","夏","关","张","刘","曹"]
print("曹操:我倒杯酒为你助行")
print("关羽:我斩了华雄再喝")
b.pop(3)
a.append("关")
a.pop(0)
a.pop(0)
b.append("关")
print("战场:",a)
print("曹操阵营:",b)
print("关羽:还好,酒还是温的")
print(a[:])
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