Day 23 - List Methods
List Methods
1. list.sort()
This method sorts the list in ascending order. The original list is updated
Example 1:
colors = ["voilet", "indigo", "blue", "green"]
colors.sort()
print(colors)
num = [4,
codingsplash.hashnode.dev4 min read