radomes.openskiesproject.org
Li0ndypeggi0indz Li0ndypeggi0indz
  • 16-01-2017
  • Computers and Technology
Answered

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

Verified Answer :

rsmith6559
rsmith6559 rsmith6559
  • 16-01-2017

def firstChars( word ):
   if( word ): # make sure word has characters
       print( word[ 0 ] ) # print the first character (Python 3 syntax)

Answer Link

Related Questions

all of the following are aspects of the search process except
the great lake in north america hold about what percent of earths fresh surface water
Which rates are unit rates Choose all answers that are correctchoose more than one answer A 4 ydcarry B 35 mi1 gal C 20 baseball players for every 2 coaches D 3
Sarah has completed the first few steps for constructing the inscribed circle for triangle ABC She started by constructing the angle bisectors for angles A and
31कReview questionsPart I Distinguish between the following1 Normal goods and inferior goods2 Complementary goods and substitute goods3 Market demand and indivi
What is the oxidation number of chlorine in AlClO43
Jamies hand is 6 inches wide when she stretches her fingers out What portion of a foot is this Express your answer as a decimal
Trina uses 12 cup of sugar and 34 cup of flour in a recipe How many cups of sugar would she need if she uses 3 cups of flour
Why are the Prairie Provinces an important economic sector of Canada
The practice by which slave owners emancipated their slaves either voluntarily or for a price is called manumission a True b False