Commit f99181c1 by BellCodeEditor

auto save

parent 26b3b1d4
Showing with 10 additions and 2 deletions
a=['s','d','f','g','h','j','k','l']
print(a[1:6])
\ No newline at end of file
...@@ -8,6 +8,5 @@ bros=["刘备","关羽","张飞"] ...@@ -8,6 +8,5 @@ bros=["刘备","关羽","张飞"]
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.pop(0)
bros[1]="刘备"
print(bros) print(bros)
\ No newline at end of file
a=['7']
s=['5','1']
a.extend(s)
print(a)
\ 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