Hey guys. I have been recently introduced to this website, by far i love it. It learns you the basics of progamming. Now ive started the Python progam. But i got stucked. I have to make new_word equal to the slice from the 1st index all the way to the of new_word. I dont understand this part tho
My code looks like this
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
The error i am getting is. "Oops, try again. It looks like new_word contains "heyhay" instead of "eyhay"!
If anyone can help me out here, and also explain what for mistake i made i would appreciate it big times :D! Came here to learn