Commafy 함수 만들기
# Make a function commafy that, given a list of three or more things,# returns a list with commas.## >>>> commafy(["trinket", "learning", "fun"])# trinket, learning, and fun# >>>> commafy(["lions", "tigers", "bears"])# lions, tigers, and bears def commafy(list): # Add code here that returns the answer objectCount = len(list) tempList = "" for i in range(objectCount - 1): tempList += list[i] + ",..
2018. 8. 20.