i wrote this code
def is_integer(): inp = input("Insert an integer ") try: inp = int(inp), print("Ok!") except