hwo to sort in ascending order in python code example
Example 1: how to sort list python
a_list = [3,2,1]
a_list.sort()
Example 2: python sort algorithm
a = [1, 2, 0, 8, 4, 5, 3, 7, 6]
print(a.sort())
a_list = [3,2,1]
a_list.sort()
a = [1, 2, 0, 8, 4, 5, 3, 7, 6]
print(a.sort())