Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def compare(weight):
- # Czy cost_of_ground jest najnizsze
- if ( cost_of_ground(weight) < cost_of_drone(weight) and cost_of_ground(weight) < cost_of_premium_ground ):
- return cost_of_ground(weight)
- else:
- print("dupa")
- return cost_of_ground(weight)
- #print(cost_of_ground(1.5))
- #print(cost_of_drone(1.5))
- print (compare(50))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement