# You are a part of the sports committee in your apartment complex.
# The committee head wants your help in developing a rectangular piece of land into a playground
# Are you ready to use your Python programming skills in solving the issue.
"""-----------Task 1: Getting the Sports Field Ready ---------------"""
print(" ")
print("*** Task 1: ***")
# The Committee Head wants to convert a rectangular piece of land which is 118.5 meters long and 67.5 meters wide into a sports field.
# You and your friends propose the idea of splitting the land into a football pitch and hockey pitch with the following measurements:
# 91.5m long and 55m wide [football pitch]
# 27 m long and 20.5 m wide [hockey pitch]
# The Committee head loves the idea. He decides to:
# - First fence the sports field first and then
# - Put artificial grass/turf for the hockey pitch.
# He asks you to give the measurement for both so that he can get the materials.
# You decide to write a Python program to calculate the measures.
# So why wait, get programming!!
# Hint: For fencing, you need to get the perimeter of the football pitch which is rectangular ( formula: perimeter - 2(length + width))
# Hint: For the artificial turf/grass, you need to get the area of the rectangular hockey pitch (Area = length * width]
x = 91.5*2 + 55 * 2
print("the fencing should be", x)
print(f"The artificial grass should be {27 * 20.5}")
"""-----------Task 2: How much do we pay? ---------------"""
print(" ")
print("*** Task 2: ***")
# The Committee Head is very happy with your program and calculation.
# Now they want your help in calculating how much needs to be paid to the workers who will be laying the fence and artificial turf/grass.
# Two workers will be helping in this task.
# For an hour of work, each of them get paid Rs. 150.
# To finish the job, each worker will take about 8.5 hrs.
# So you need to calculate the total amount to be paid to each worker and the total Cost
# Write a python program to calculate the amount
a = 150 * 8.5
b= 150 * 8.5
print(f"The total cost is {a + b}")
'''You did a great job and solved the problem in hand like an expert! Way to go!'''
To embed this project on your website, copy the following code and paste it into your website's HTML: