Mahalo_22 Posted October 7, 2019 Posted October 7, 2019 Write a Python program that prompts the user for the length and width of a rectangular field (in feet, allowing a fractional part), then calculates and prints the area of the field in acres. Area = length times width, there are 43,560 square feet in an acre.
Sensei Posted October 7, 2019 Posted October 7, 2019 (edited) Quote Starting Python question on where to begin... W3Schools has Python tutorial https://www.w3schools.com/python/ Edited October 7, 2019 by Sensei
Strange Posted October 7, 2019 Posted October 7, 2019 6 hours ago, Mahalo_22 said: Write a Python program that prompts the user for the length and width of a rectangular field (in feet, allowing a fractional part), then calculates and prints the area of the field in acres. Area = length times width, there are 43,560 square feet in an acre. ! Moderator Note We are not here to do your homework for you. If you have specific problems with the task then people may help you.
ydoaPs Posted October 10, 2019 Posted October 10, 2019 On 10/6/2019 at 11:15 PM, Mahalo_22 said: Write a Python program that prompts the user for the length and width of a rectangular field (in feet, allowing a fractional part), then calculates and prints the area of the field in acres. Area = length times width, there are 43,560 square feet in an acre. You'll need to define a function; do you know how? You'll need to take an input from the user; Do you know how? You'll need to make sure the data type of the input is a certain type; do you know what type that is and how to check that the input is that type? Then you'll need to perform the calculation and print the result; Do you know how? Give it a shot, and if you can't figure out how to do any of the above steps, let us know. We won't do your homework for you, but we'll help you figure it out. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now