The code where we expect an exception is written in the try block. ... print(f"Your age is {val}") except ValueError as e: print(e).
確定! 回上一頁