Commit 7d8720ca by BellCodeEditor

auto save

parent 36ea32c1
Showing with 15 additions and 3 deletions
# 玩家出拳
wj=input("请出拳(石头/剪刀/布):")
print("玩家出的是:",wj,end="")
\ No newline at end of file
exi
\ No newline at end of file
s=[]
for i in range(5):
s.append(input("输入姓名:"))
print(s)
p=input("输入要删除的内容:")
k=0
while k<len(s):
if p==s[k]:
s.pop(k)
k=k-1
k=k+1
print(s)
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