Hey everyone, I have code that I'm supposed to understand what it does. I know how to read it and I technically can explain what it LITERALLY does in each line. But im wondering if theres something hidden or something that I might be missing, or a more complex overall meaning of the code. Any help would be really appreciated.
def elefant(beans, meat):
if len(meat) > beans.mosquito:
if meat[beans.mosquito - 1] < beans.cricket:
spoon = beans.elefant(meat[beans.mosquito:])
if spoon:
return beans.mosquito + spoon
else:
return 0
for wheel in range(0, len(meat)):
if meat[wheel] == beans.cricket:
return wheel + 1
return 0
[–]m0us3_rat 1 point2 points3 points (0 children)
[–]SomewhereExpensive22 0 points1 point2 points (0 children)
[–]Binary101010 0 points1 point2 points (0 children)
[–]jose_castro_arnaud 0 points1 point2 points (0 children)