One acre of land is equivalent to 43,560 square feet. Write a program that asks the user to enter the total square feet in a tract of land and calculates the number of acres in the tract

  1. Land Calculation

One acre of land is equivalent to 43,560 square feet. Write a program that asks the user to enter the total square feet in a tract of land and calculates the number of acres in the tract.

Hint: divide the amount entered by 43,560 to get the number of acres.

Solution

#Get the total square feet

totalSquareFeet = int(input(“Enter the total square feet : “))

#calculate the total acres

totalAcre = totalSquareFeet / 43560

#display the total acres

 

Print (“total Acres will be :”,format(totalAcre , ‘,.2f’))