Advertisement
Guest User

Untitled

a guest
Feb 17th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. #Project for calculating weight on other planets
  2. #Weight = Earth Weight x Surface Gravity Factor
  3. sName = ('Ryan') #name of person who's weight we will be calculationg
  4. Ryan_Earth_weight = ("209") # Ryans Weight on Earth
  5. Mercury_weight = ('0.38')
  6. Venus_weight = ('0.91')
  7. Moon_weight = ('0.165')
  8. Mars_weight = ('0.38')
  9. Jupiter_weight = ('2.34')
  10. Saturn_weight = ('0.93')
  11. Uranus_weight = ('0.92')
  12. Neptune_weight = ('0.12')
  13. Pluto_weight = ('0.066')
  14. print('What is your name :' +(sName))
  15. print('What is your weight on Earth :' + (Ryan_Earth_weight))
  16. print(sName + ',' + 'Here is your weight on other planets in our solar system!')
  17. print ('Weight on moon = ') + str(Moon_weight * Ryan_Earth_weight)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement