''' file: my_program.py Interactive program that asks user to compute the area of a rectangle. Mithat Konar ''' import my_functions # Function definition(s) def say_hello(): '''Welcome the user to the program.''' greeting = 'This program will compute the area of a rectangle.' print(greeting) # "__main__" say_hello() # get data from the user w = float(input('Enter the width of a rectangle: ')) h = float(input('Enter the height of a rectangle: ')) # compute results area = my_functions.rectangle_area(w, h) # output results print(f'The area of a {w} by {h} rectangle is {area}.')