PYGLATIN Python Project
This is a PythonProject from Code Academy
pyg = 'ay'
original = raw_input('Enter a word:')
if len(original) > 0 and original.isalpha():
word = original.lower()
first = word[0]
new_word = word + first + pyg #the components
new_word = new_word[1:len(new_word)] #how you want it to operate
print original
#print new_word you can add this to see the answer
else:
print 'empty'
pyg = 'ay'
original = raw_input('Enter a word:')
if len(original) > 0 and original.isalpha():
word = original.lower()
first = word[0]
new_word = word + first + pyg #the components
new_word = new_word[1:len(new_word)] #how you want it to operate
print original
#print new_word you can add this to see the answer
else:
print 'empty'
Comments