use Python as the programming language. A rectangle's area is determined by multiplying its length by its width. Create a software that prompts the user for their measurement unit, a rectangle's length, and a rectangle's width. The computer program will calculate the area and give the result in a phrase along with the units they are using. Use a format code and rounding to remove any potentially large decimals at the second place. Make sure the program is tested with various units, lengths, and widths. .
Welcome to the Rectangle Area Calculator!
What is your measurement unit (in., ft., cm. etc).? inches
What is the length of the rectangle in inches? 3.5 What is the width of the rectangle in inches? 2.5
Your rectangle is 8.75 square inches.