Here's my code so far:
original = raw_input('Enter a word:') pyg = 'ay' if len(original) > 0 and original.isalpha(): print original else: print 'empty' word = original.lower() first = word new_word = word + first + pyg
When I run the code, the terminal gives me:
Enter a word: python
Why won't the program give me a new word? Is there something wrong with the variables below?