python版本3.8.1 1.ValueError while True: try: x = int(input("Please enter a number: ")) break except ValueError: print("Oops! That was no valid number.Try again...")