Commit 98893ecf by BellCodeEditor

auto save

parent c256c561
Showing with 35 additions and 2 deletions
"""
a=input("请输入姓名:")
while True:
if a== "悟空":
print("悟空,请先敲门")
else:
if a=="小贝":
print("小贝,欢迎光临")
else:
print("欢迎")
"""
a=2
while a<10:
a=a*2
print(a)
\ No newline at end of file
# 我们都爱夸夸夸
\ No newline at end of file
"""
bug_official=["阿尔法","贝塔","撒旦","阿斯兰","路皮","阿拉丁","希曼","西格玛","拉普拉金"]
i=0
while i < len(bug_official):
if bug_official[i] in "西格玛":
print("发现西格玛")
print(i)
i=i+1
"""
bug_official=["阿尔法","贝塔","撒旦","阿斯兰","路皮","阿拉丁","希曼","西格玛","拉普拉金","路易斯"]
i=0
while i<len(bug_official):
if bug_official[i] =='路易斯':
print(i)
bug_official.pop(i)
i=i+1
print(bug_official)
\ 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