In this level in the desert where the
returncommand is introduced (name displayed in screenshot: “Hetze nicht, sei still”) there’s a function referred to as “modulo operation” in the hints section:
However, the actual function is not performing a modulo calculation (calculating the rest of a division), there is only a subtraction:
# Diese Funktion gibt einen Wert >= 0 und <30 zurück: def mod30(n): if n >= 30: return n - 30 else: return n
It seems that someone just named that function
mod30 for some reason that has nothing to do with what it does, right?
Also the comment says that the function will return a value between 0 and 29, which is not true for
n > 60
This is all very confusing.
Are there errors in the design of this level/the hints text, or is it I just me getting everything wrong?