generate functionSat, 12 Nov 2022
remove the first word of a string separeted with comma and return the remaining words capitalized in a list
def remove_first_word(s): s = s.split(',') s.pop(0) return [x.capitalize() for x in s] remove_first_word("a,b,c,d")