Largest of Three
Beginner
In this challenge, you will write a Python function to find the largest number among three given numbers. Imagine you're a wizard who needs to compare the sizes of three magical stones, and you want to determine which stone is the largest.
Your task is to implement a function largest_of_three, which takes three numbers as arguments and returns the largest of them.
Here's how it should work:
largest_of_three(5, 10, 3) # This should return 10 largest_of_three(25, 7, 25) # This should return 25 largest_of_three(0, -10, -20) # This should return 0
Let's make sure your magical powers are up to the task! Be precise and find the largest number among the three!
Inputs
Arg 1:
5Arg 2:
10Arg 3:
3Expected Output
10Actual Output