How to find the largest number among three numbers
You can simply use the max
built-in function (Built-in Functions — Python 3.12.1 documentation):
max_nr = max(n1, n2, n3)
1 Like
How to find the largest number among three numbers
You can simply use the max
built-in function (Built-in Functions — Python 3.12.1 documentation):
max_nr = max(n1, n2, n3)