Commit 7bcc8967 by BellCodeEditor

save project

parent df4babd9
Showing with 6 additions and 2 deletions
...@@ -2,4 +2,8 @@ bros = ["刘备","关羽","张飞"] ...@@ -2,4 +2,8 @@ bros = ["刘备","关羽","张飞"]
bro1 = ["刘备",161,9.1] bro1 = ["刘备",161,9.1]
bro2 = ["关羽",160,8.7] bro2 = ["关羽",160,8.7]
bro3 = ["张飞",164,8.2] bro3 = ["张飞",164,8.2]
print(bros) bros[0] = "关羽"
\ No newline at end of file bros[1] = "刘备"
print(bros)
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