<<<<<<< HEAD
# Chapter 4 
# Project 1
# Comma Code

spam = ['apples', 'bananas', 'tofu', 'cats']

joinedSpam = ','.join(spam[0:-1])
lastSpam = spam[-1]

print(joinedSpam + ",and " + lastSpam)



=======
# Chapter 4 
# Project 1
# Comma Code

spam = ['apples', 'bananas', 'tofu', 'cats']

joinedSpam = ','.join(spam[0:-1])
lastSpam = spam[-1]

print(joinedSpam + ",and " + lastSpam)



>>>>>>> 1a1edffe3cad49f7c98bf7c17f0d57c2adb4b6e8
