What's the significance of "return True" in this code?


#1



https://www.codecademy.com/en/courses/python-beginner-P5YtY/0/1?curriculum_id=4f89dab3d788890003000096

def bigger(first, second):
    print max(first, second)
    return True

#2

I believe it's just there to remind you what a return statement looks like, as part of a quick review. It's not a particularly useful return statement.


#3

Oh makes sense. Thanks!


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.