Deviopath › Python

Largest of Three

Easy · Numbers

An if / elif / else chain lets you pick between options. Comparisons like a >= b give True or False, and and combines them.

Write a function largest_of_three(a, b, c) that returns the largest of the three numbers.

Next: Reverse a String