sort method

numbers = [10, 3, 17, 50, 15]
numbers.sort(reverse=True)

print(numbers)

Leave a Comment

Your email address will not be published. Required fields are marked *