Question: PYTHON Help! Having some trouble with these programs. Include code in the answer please. (Simplest way) 7. One acre of land is equivalent to 43560
7. One acre of land is equivalent to 43560 square feet. Using Python, create a program named hw2ec1.py that prompts the user in the main body of the program to enter in the total square feet in a tract of land, pass this amount into a user-defined function. The function will then calculate and professionally display the number of acres in the tract. 8. Create a Python program named hw2ec2.py that does the following. A car's miles per gallon can be calculated with the following formula: mpg = miles driven / gallons of gas used. Call a Python function to prompt the user for any data required, calculate the miles per gallon, return the miles per gallon back to the main body of the program, and then professionally display the result
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
