while True: try: age = int(input("你今年幾歲?")) if age < 0: break else ... 這裡的\s是表示空白(space)的意思,在Python中有幾個這樣的特定字元(使用\來表示) ...
確定! 回上一頁