sleep(10) # 模擬一個耗時流程 num = int(input('輸入整數:')) print('{0} 為{1}'.format(num, '奇數' if num % 2 else '偶數')) except ValueError ...
確定! 回上一頁