def get_size_price(driver_type, driver_name, size_id):
 pricing = get_pricing(driver_type=driver_type, driver_name=driver_name)
 try:
  price = float(pricing[size_id])
 except KeyError:
  price = None
 return price

def get_size_price ( driver_type , driver_name , size_id ) : pricing = get_pricing ( driver_type = driver_type , driver_name = driver_name ) try : price = float ( pricing [ size_id ] ) except KeyError : price = None return price
return price for the provided size .