An athlete takes 18 rounds of a triangular park sides as 30 m, 25m and 35 m, Write a
program to determine the total distance covered by him
Answers
Answer:
Using python:
_______________________________
def distance_covered(a,b,c)
return ("The distance covered will be :" , 18*(a+b+c) )
distance_covered(30,25,35)
________________________________
Explanation:
"def" is used to define a function.
In the program above I wrote a function that takes three parameters and returns their sum multiplied with 18 to the user.
In the last line I called this function on the three values you shared.
Explanation:
The environment can be defined as a sum total of all the living and non-living elements and their effects which influence human life. While all living or biotic elements are animals, plants, forests, fisheries, and birds, etc. The non-living or abiotic elements include water, land, sunlight, rocks, and air, etc.