Answer:
The summary of the given query would be summarized throughout the below segment. The output of the question is attached below.
Step-by-step explanation:
Given values are:
here,
inp = input
By utilizing the below formula, we get
⇒

Now,
⇒

⇒ print("Acceleration of gravity: {:.2f}".format(accel_gravity))