Quotes help make search much faster. Example: "Practice Makes Perfect"

Saturday, November 24, 2012

Codecademy: "Word Up"


#sample solution


pyg = 'ay'

original = raw_input('Enter a word:')

if len(original) > 0 and original.isalpha():
print original
word = original.lower()
print "Word is: " + word
first = word[0]
print "First is: " + first
else:
print 'empty'

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts