Before we begin(true & false)


okay so in the example for before we begin its says this

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

I was just wondering what the point of having to return true is because you can make that code work like this

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

I guess what i'm asking is what is the point of true and false and what would be occasions where you have to use them


Hi @student_coder,

You are correct in your observation. The second code listed by you is clear, concise and better. The first approach being used by the exercise is pointless.

Hope it helps! :smiley: