# Program to print the first letter of a word # (user enters word) # Matt Bishop, Apr. 24, 2009 # for ECS 10 Spring 2009 # print first letter of a word # parameter: word, the word def firstletter(word): print word[0]; # read a word and print the first letter # calls: function firstletter def main(): line = raw_input("Type your word: "); firstletter(line); main();