Commit 7aec344c by BellCodeEditor

save project

parent 5a8c5162
Showing with 6 additions and 7 deletions
...@@ -5,9 +5,9 @@ bro1="关羽" ...@@ -5,9 +5,9 @@ bro1="关羽"
bro2="刘备" bro2="刘备"
bro3="张飞" bro3="张飞"
bros=["刘备","关羽","张飞"] bros=["刘备","关羽","张飞"]
bro1=["关羽",160,8.5] bros.pop(1)
bro2=["刘备",161,9.1] bros.pop(-2)
bro3=["张飞",166,8.3] bros.remove('关羽')
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