All problems
Find the Minimum in a List
easyPythonArrays
A weather station writes each week's daily low temperatures onto a single line, in degrees Celsius. The monthly report opens with the coldest reading of the week, and in winter every reading on the line can be below zero.
Task: Read one week of readings and print the coldest one.
Input
A single line holding between 1 and 100 integers, separated by single spaces. Any of them may be negative or zero.
Output
One line holding a single integer: the smallest value on the line.
Example:
Input:
5 2 8 1 9
Output:
1
Sign in to solve this problem
Reading problems is free for everyone — solving them (Run, Submit, and tracking what you've solved) needs an account.
Sign in