[python] paul

Viewer

  1. def price(p,n):
  2.     count = 0
  3.     L1 = []
  4.     L = f1(plants,labels,p)
  5.     for i in range (0,len(L)):
  6.         if n == L[i]:
  7.         
  8.             
  9.             L1.append(L[i])
  10.             for x in range(0,len(L1)):
  11.                 t = L1[x]
  12.                 for z in range(0,len(t)):
  13.                     count = count + 10
  14.             break
  15.     return count
  16.  
  17.  
  18.  
  19. print(price("t","Oak"))

Editor

You can edit this paste and save as new: