Jump to content

Starting Python question on where to begin...

Featured Replies

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. 

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. 

 
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.

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.