What is the syntax to sort a list in Python?
arr.sort()
True or False: using arr.sort() in Python sorts the list in ascending order?
True
How would we sort a list in descending order in Python?
arr.sort(reverse=True)
How would you sort a list of strings in Python?
arr.sort()
Will sort by alphabetical order
How would you sort a list of strings by number of letters instead of ascending order in Python?
arr.sort(key=lambda x: len(x))