Commit 38849b9a by BellCodeEditor

save project

parent ced83c90
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
def func(): def func():
total = [] total = []
while True: while True:
unit= input("请输入:") unit= input("请输入(按q退出):")
if unit== 'q': if unit== 'q':
break break
else: else:
try: try:
unit=int(unit) unit=int(unit)
except: except:
print("阿巴阿巴") print("请输入数字啊啊啊!!!。")
else: else:
total.append(unit) total.append(unit)
print(total) print(total)
......
try: try:
age = int(input("jyuadsdh")) age = int(input("你多少岁了?"))
except: except:
print("hyasgduw") print("要输入整数")
else: else:
if age<18: if age<18:
print("uadshgyukvxcgdykusx6ytkjkhfgyo8gkoibgkjbds") print(" 哦")
print("esuhfjedsuyudsg") print("结束 哈哈哈")
\ No newline at end of file \ No newline at end of file
kjdgjhjhfghdfhjsdgjshgjdhhjgsghgahgfgafgh ghagagfhgdsahfhhhkdshkjfsyhyj8ayoitgqihdsgdsumhmfhsknjmssbjgjofdjjhkjkbihlisulikghisliukjgiukiosreghorujghoifgdhkjghfdjkrsbgkjushkgjlkiagbuihjvkfhifhyuajgasjuufgdsklfgdfdnbklfgdhjkrkfnl;djsdjlfdjklfdjhgfufdlhffdjfhkjfdjkaeoikrusukgsufdkugdkfdhhjilhfgklifdhjkbjahfbvihjedgbhyjnbhjnjmujfehuuwfesUKKHFDDFDDKJDHFDHSDSJlhfgh fslhflhffkljugjufgfgdfgdsyufgfgyzfyoyrgidrurroyryryuifufdyfgdyyfkyuyyyyyyyufgfgyufyugggggggggggggggggggggggggggggggggggggggggrrrrrrrrrrrrrrruyufdygksudyhgkjusdyghsdkjhgkjhgkjhsdkjghkjdkgjhdfsghkdjs;ghyuldjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsdjsgnm082085*05..cb
\ 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