This is a procedure, I wanna convert it in one line:
def fix_machine(debris, product):
i=0
while(i<len(product)):
if(debris.find(product[i]) == -1):
return "Give me something that's not useless next time."
break
i = i + 1
return product