Advertisement
Guest User

Untitled

a guest
Sep 14th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. mass_kg=input('What is the objects mass in Kg')
  2.  
  3. weight_n=int(mass_kg)*9.8
  4.  
  5. print('Your mass in newtons is',weight_n)
  6.  
  7. if weight_n > 500:
  8. print('Object is too heavy')
  9.  
  10. if weight_n < 100:
  11. print('Object is too light')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement