All problems
EasyPython Basics
Min and max of three numbers
Given three numbers, print the smallest and the largest.
- #builtins
- #min
- #max
Sample input
a, b, c = 7, 2, 5
Sample output
min=2 max=7
min-max-three.py
Output
Press "Run code" to execute.
Loading…
Given three numbers, print the smallest and the largest.
a, b, c = 7, 2, 5
min=2 max=7
Press "Run code" to execute.