daily pastebin goal
61%
SHARE
TWEET

Here

a guest Feb 13th, 2018 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def force(m1, m2, r):
  2.     g = 6.673*(10**-8)
  3.     f = (g*m1*m2)/(r**2)
  4.     return (f)
  5.  
  6.  
  7. def inputs():
  8.     m1 = float(input("Please enter the first number: "))
  9.     m2 = float(input("Please enter the second number: "))
  10.     r = float(input("Please enter the distance: "))
  11.     print("The Gravitional Force is: ", force(m1, m2, r))
  12.     inputs()
  13. inputs()
RAW Paste Data
Top