import math num = float(input("Enter the number: ")) square = math.pow(num, 2) print("Square of {0} is {1} ".format (num, square))