Ask Question
28 April, 06:58

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

+2
Answers (1)
  1. 28 April, 10:12
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers