Question: In python, please help 3. Implement the function firstCharsO that takes a list of strings as a parameter and prints to the screen the first

In python, please help

In python, please help 3. Implement the function firstCharsO that takes a

3. Implement the function firstCharsO that takes a list of strings as a parameter and prints to the screen the first character of each string, one per line. If the list provided as a parameter is empty, the function prints a message to that effect. If any of the strings are empty, they are skipped in the display. The information below shows how you would call the function firstChars and what it would display for a couple of parameters: file:llIUsers/bmaya/Documents/DePaul Teaching/2017_SQ/csc241F2017Hws/assign2 html 2/3 1/11/2018 Assignment 2 CSC 241-801 Le Python 3.6.2 Shell File Edit Shell Debug Options Window Help >>>tirstchars([' Python,Java "R", JavaScript']) >>> firstChars('co''horse' 'pig', sheep', chicken']) >>> firstChars (Djengo' , ' Gertrude' , '- ' prudence' ) >>> firstChars (]) The list provided as a parameter vas empty Ln: 43 Col: 4

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!