Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- """
- Lists
- Check your answer: https://judge.softuni.bg/Contests/Practice/Index/426#1
- 02. Smallest Element in Array
- Problem:
- Read a list of integers on the first line of the console. After that, find the smallest item in the list
- and print it on the console.
- Examples:
- Input Output
- 1 2 3 4 5 1
- 9 8 7 82 78 13 7
- 78 77 1268 43 9 9
- """
- nums = [int(item) for item in input().split(" ")]
- print(min(nums))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement