Read a line from text file to variable
line = file.readline()
Define a function that returns a variable
def function(a):
return(a)break a string into a list of words, save into variable
str_list = “a-b-c-d -e -“.split(‘-‘)
sort a list
string = sorted(list)