Advertisement
Dombear

Untitled

Oct 9th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. def compare(weight):
  2. # Czy cost_of_ground jest najnizsze
  3. if ( cost_of_ground(weight) < cost_of_drone(weight) and cost_of_ground(weight) < cost_of_premium_ground ):
  4.  
  5. return cost_of_ground(weight)
  6.  
  7. else:
  8.  
  9. print("dupa")
  10. return cost_of_ground(weight)
  11.  
  12. #print(cost_of_ground(1.5))
  13. #print(cost_of_drone(1.5))
  14. print (compare(50))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement