Write a function find_min(items) that takes a list of integers and returns the
smallest value in it. If the list is empty, return None.
Scan the list and compare the elements yourself -- do not call the built-in min().
Example
find_min([3, 1, 4, 1, 5]) -> 1
find_min([]) -> None
Implement this function:
def find_min(items: list):
Write the function only — the arguments are read for you and the return value is printed automatically.
Arguments arrive as one Python literal per line, in this order: items.
Input
[3, 1, 4, 1, 5]
Output
1