Commit 3e282938 by BellCodeEditor

save project

parent fa9be0b5
Showing with 4 additions and 3 deletions
def lscs(): def lscs():
total = [] lsws = []
while True: while True:
unit= input("请输入:") unit= input("请输入:")
if unit== 'q': if unit== 'q':
break break
else: else:
try: try:
total.append(int(unit)) lsws.append(int(unit))
except: except:
print('你就是歌姬') print('你就是歌姬')
return unit return s
a=lscs() a=lscs()
print(a) 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