# square.py # defining a function that returns a value def main(): x = float(input("Please, input a decimal number:")) b = square(x) print(x,"squared is",b) # This function returnes the square of the argument def square(a): return a*a main()