Commit 76e2c8cc by BellCodeEditor

save project

parent e8ac9a19
Showing with 11 additions and 0 deletions
...@@ -5,9 +5,19 @@ bro1="关羽" ...@@ -5,9 +5,19 @@ bro1="关羽"
bro2="刘备" bro2="刘备"
bro3="张飞" bro3="张飞"
bros=["刘备","关羽","张飞"] bros=["刘备","关羽","张飞"]
# bros=[bro1,bro2,bro3]
bro1=["关羽",160,8.5] bro1=["关羽",160,8.5]
bro2=["刘备",161,9.1] bro2=["刘备",161,9.1]
bro3=["张飞",166,8.3] bro3=["张飞",166,8.3]
bros[0]="关羽" bros[0]="关羽"
bros[1]="刘备" bros[1]="刘备"
# bros[0],bros[1]=bros[1],bros[0]
print(bros) print(bros)
"""
for i in bros:
print(i)
"""
"""
for i in range(len(bros)):
print(bros[i])
"""
\ 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