Advertisement
Dombear

Untitled

Oct 9th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.41 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.     # print ("Najnizsza cena to cost_of_ground" )
  5.     return cost_of_ground(weight)
  6.   #elif (cost_of_drone)
  7.   #else:
  8.    
  9.    
  10.     return cost_of_ground(weight)
  11.    
  12.  
  13. #print(cost_of_ground(1.5))
  14. #print(cost_of_drone(1.5))
  15. print (compare(50)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement