Your question is Sorting Lowest Number. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
ABC Candidate Portal receives unsorted numeric scores that must be ordered before the minimum score is reported. Write a function that sorts the input array in ascending order and returns its lowest value.
Implement lowest_after_sort(nums), where nums is a non-empty list of integers. Sort nums in place in ascending order, then return the first element, which is the lowest value. The function should return an integer and may modify the original list.
def lowest_after_sort(nums):