Commit 2a5e04a0 by BellCodeEditor

auto save

parent 89897d15
# 报菜名 =# 报菜名
# 悟空和诺依到了一家特色餐馆,这家餐馆最大的特色就是有个自动报菜名机器人 # 悟空和诺依到了一家特色餐馆,这家餐馆最大的特色就是有个自动报菜名机器人
# 通常它会自动说出今天的前菜有哪些汤有哪些主菜有哪些等等~ # 通常它会自动说出今天的前菜有哪些汤有哪些主菜有哪些等等~
# 可是今儿它有些bug产生的结果很奇怪,你可以检查出来么? # 可是今儿它有些bug产生的结果很奇怪,你可以检查出来么?
......
text=["p","y","t","h","o","n"]
i="".join(text)
print(i)
name=["dghf","xchfjh","lily","anna","daming","helen"]
name[2]="Nina"
name.insert(5,"sally")
name.pop(3)
x=["Xiaoli","Qiang","Neo"]
name.extend(x)
print(name)
i=name[2:7]
print(i)
\ No newline at end of file
str1="本节课我们学习文字加密"
str2="用python进行"
list_str1=list(str1)
list_str1.insert(7,str2)
new_str1="".join(list_str1)
print(new_str1)
text="hello world!"
for i in text:
print(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