Please can somebody tell me if this core is correct. Unsure if it works as when i run it, and type in a word, nothing happens - When i run the code, what should it print?
Thank you all.
pyg = ‘ay’
original = raw_input(‘Enter a word:’)
if len(original) > 0 and original.isalpha():
word = original.lower()
first = word
new_word = word + first + pyg