try: a = int(input('請輸入數字=')) except: print('出現錯誤')