Question: please i need the answer as text Write a function listFirstChars() that takes a list of strings as parameter, returns a new list made of
please i need the answer as textWrite a function listFirstChars() that takes a list of strings as parameter, returns a new list made of the first characters of the strings in the list. Example: If the parameter list contains ['give", "one","old", "disk"), the function will return ('g'."0","","d")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
