Commit 04709de5 by BellCodeEditor

save project

parent b4ab2e1d
Showing with 4 additions and 0 deletions
......@@ -6,9 +6,12 @@ bro2="刘备"
bro3="张飞"
#创建列表
bros=["刘备","关羽","张飞"]
#设置信息
bro1=["关羽",160,8.5]
bro2=["刘备",161,9.1]
bro3=["张飞",166,8.3]
#交换刘备和关羽的位置
bros[0]="关羽"
bros[1]="刘备"
#打印列表
print(bros)
\ 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