PYTHON   32
cherries weight
Guest on 27th August 2023 06:09:08 AM


  1. def cherries(weight):
  2.    if weight >= 10.4:
  3.       return '9 Row'
  4.    elif weight >= 8.6 or weight < 10.4:
  5.       return '10 Row'
  6.    elif weight >= 7.1 or weight < 8.6:
  7.       return '11 Row'
  8.    else:
  9.       return '12 Row'
  10.  
  11. print(cherries(5))

Raw Paste

Login or Register to edit or fork this paste. It's free.