Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Project for calculating weight on other planets
- #Weight = Earth Weight x Surface Gravity Factor
- sName = ('Ryan') #name of person who's weight we will be calculationg
- Ryan_Earth_weight = ("209") # Ryans Weight on Earth
- Mercury_weight = ('0.38')
- Venus_weight = ('0.91')
- Moon_weight = ('0.165')
- Mars_weight = ('0.38')
- Jupiter_weight = ('2.34')
- Saturn_weight = ('0.93')
- Uranus_weight = ('0.92')
- Neptune_weight = ('0.12')
- Pluto_weight = ('0.066')
- print('What is your name :' +(sName))
- print('What is your weight on Earth :' + (Ryan_Earth_weight))
- print(sName + ',' + 'Here is your weight on other planets in our solar system!')
- print ('Weight on moon = ') + str(Moon_weight * Ryan_Earth_weight)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement