I’m trying to define a method similar to the method max but I get an error for an expected indentation. I’m not exactly sure what is wrong with the code… I need help solving this.
def biggest(a,b,c):
def bigger(a,b):
if a > b:
output = a
else:
output = b
if output > c:
return output
else:
return c
You’ve mixed up tabs and spaces. Use
python -ttto verify.