Skip to Content
Learn
Code Challenge: Control Flow
Max Number

max_num(num1, num2, num3)

Instructions

1.

Create a function called max_num() that has three parameters named num1, num2, and num3.

The function should return the largest of these three numbers. If any of two numbers tie as the largest, you should return "It's a tie!".

Folder Icon

Sign up to start coding

Already have an account?