# Functions go here def int_check(question): """Checks users enter an integer""" error = "Oops - please enter an integer." while True: try: # Return the response if it's integer response = int(input(question)) return response except ValueError: print(error) # Main Routine goes here # loop for testing purposes