Minimum Value in Python
Level 119 keystrokes
This prints the smallest of three numbers. The min() function returns the minimum value from its arguments.
Python code
# min() returns the smallest of its arguments# Of 5, 2 and 8 the smallest is 2, so 2 is printed1print(min(5, 2, 8))Output
2
Practice typing this code. Results are not recorded in the rankings.
Symbols in this code
The symbols you type in this Python code and how often they appear.
,× 2(× 2)× 2