num = input("Enter a number -- ") times = 1 if num.isnumeric() : for i in range(1, int(num) + 1) : print(i) for i in range(int(num) -1, 1, -1) : print(i) else : print("No int inputed")