#try to avoid input function a = int(input("Enter any Number :")) for i in range(1,a+1): print(str(i)+" Square is :"+str(i**2)+" ,Cube is "+str(i**3))
Click the run button. Try to avoid input() function.