Ask Question
27 January, 19:49

Implement the function first chars () that takes a list of strings as a parameter and prints to the screen the first character of each string, python

+1
Answers (1)
  1. 27 January, 21:45
    0
    Def firstChars (word):

    if (word) : # make sure word has characters

    print (word[ 0 ]) # print the first character (Python 3 syntax)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Implement the function first chars () that takes a list of strings as a parameter and prints to the screen the first character of each ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers