Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def moon_weight(earth_weight, weight_inc, year_num):
- x = .165
- current_weight = earth_weight
- for y in range(year_num):
- current_weight = current_weight + weight_inc
- moon_weight = current_weight * x
- print(moon_weight)
- moon_weight(90, .25, 3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement