Commit 3ed75b38 by BellCodeEditor

save project

parent 26b3b1d4
Showing with 5 additions and 0 deletions
......@@ -4,10 +4,14 @@
bro1="关羽"
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