#Write a program that reads one positive integer n and prints the squares #of all integers between 1 and n inclusive. n=int(input("enter n ")) i=1 while(i<=n): print(i**2) #or you can write print(i*i) i+=1 print("end of the program")