Commit 4d29d587 by BellCodeEditor

save project

parent 4a33dfca
Showing with 24 additions and 5 deletions
a=['吕布']
b=['袁术','公孙瓒','关羽','张飞','刘备','曹操']
a.extend(b[2:5])
print(a)
\ No newline at end of file
# a=['吕布']
# b=['袁术','公孙瓒','关羽','张飞','刘备','曹操']
# a.extend(b[2:5])
# print(a)
# str1="bellcode"
# print(str1[4:8])
# hero={'wx':30}
# hero["wx"]==100
# print(hero)
# text=["p","y"]
# print(text[0:2])
# str1="本节课我们学习文字加密"
# str2="用Python进行"
# list1=list[str1]
# insert(str1[1,str2])
# print(text)
list1={"c":67}
print(list1["c"])
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