#Write a function, square, that has one parameter. Function returns the square of #the parameter. For example square(5) will return 25, square(9) will return 81, #and square(-4) will return 16 #Write main that reads 10 integers and prints the square of each input number. #Use LOOP FOR in main and function square. def square(a): return a*a #or you can write a**2 def main(): for i in range(10): num=int(input("enter integer ")) print(num,"*", num,"=", square(num)) main()