Currently working my way through this beginners book and have completed one of the practice projects \'Comma Code\' which asks the user to construct a program which:
spam=['apple', 'banana', 'tofu','cats'] spam[-1]= 'and'+' '+ spam[-1] print (', '.join((spam)))