Answer:
G = 6.673e-11
M = 5.98e24
accel_gravity = 0.0
dist_center = float(input())
accel_gravity = (G * M) / (dist_center * dist_center)
print('Acceleration of gravity: {: .2f}'.format(accel_gravity))
Step-by-step explanation:
The G, M, and accel_gravity are already initialized
The user is asked to enter the dist_center which is the only missing thing in the formula
In order to calculate the accel_gravity, you just need to put the variables in the formula (Note that the formula is (G*M)/(d^2), not d)
Then, the calculated value of accel_gravity is printed