Sort Array of Numbers in Ascending Order using Python

sort method

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

print(numbers)

Leave a Comment

Cancel reply

Your email address will not be published.