#try to avoid input function a = int(input("Enter any Number :")) b = int(input("Enter any Number :")) for i in range(a+1,b): print(i)
Click the run button. Try to avoid input() function.