# File: area.py # This program takes length and width of a rectangular room as an input # (in inches) and outputs the area of the room in square meters. def main(): print "This program finds the area of a rectangular room in square meters." l = input("please, input the length of the room in inches :") w = input("please, input the width of the room in inches :") area = (l * 2.54 * 0.01)*(w * 2.54 * 0.01) print "The area of the room", l, "inches by", w, "inches is", area, "square meters." print "Have a good day!" main()