#Title: of the program #Author: Aston #Date: 26/05/2025 #Version: Version 1 #Purpose: Create a program that calculates the perimeter of a paddockand the price to put a fence around it. The program will ask the user to enter numbers. It will then calculate the perimeter using a formula. When the perimeter is calculated the price per meter can be added to work out the cost to put a fence around it. The perimeter of the paddock, and the total cost to fence it be displayed at the end of the program. The user will see a message displayed letting them know the program has finished. print('welcome to the fence calculator program') print('to use thos program you will enter the length and width of a paddock') # collect length and width length = float(input('what is the length? ')) width = float(input('what is the width? ')) price = float(input('what is the price per meter? ')) #Rectangle: perimeter = 2 x (length + width) # or perimeter = 2 x length + 2 x width #Square: perimeter = 4 x length perimeter = 2 * (length + width) cost = perimeter * price print(f'The Perimeter ot the paddock is {perimeter} meters') print(f'The total cost to put a fence around the paddok is ${cost}') print('The program has ended')