from RPS.C_03_Integer_checker import game_goal def int_check(): """Check users enter an integer more that / equal to 13""" error = "please enter an integer more that / equal to 13" while True: try: game_goal = int(input("what is the game goal? ")) if game_goal < 13: print(error) else: print(f"Game goal: {game_goal}") break except ValueError: print(error) # Main routine starts here game_goal = int_check() print(game_goal)