Advertisement
SansPapyrus683

Python Moon Weight

Jun 20th, 2022
943
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. def moon_weight(earth_weight, weight_inc, year_num):
  2.     x = .165
  3.     current_weight = earth_weight
  4.     for y in range(year_num):
  5.         current_weight = current_weight + weight_inc
  6.         moon_weight = current_weight * x
  7.         print(moon_weight)
  8.  
  9.  
  10. moon_weight(90, .25, 3)
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement