Run
#list of strings mylist = ['list', 'dict', 'set'] #reverse list mylist.reverse() #print the list print(mylist)
Output