I am passing the 'testing testing is this thing on', but when I run the code on a few words eventually the output becomes delayed. I will enter 'first' and the translation of the previous word comes up instead. I try again and it doesn't matter what I enter, irstfay comes up. Does this explanation make sense?
I don't understand why it works the first few times I test it, but then becomes delayed. Is it a glitch in the website or is my code faulty?
pyg = 'ay' word = original.lower() first = word new_word = word + first + pyg new_word = new_word[1:len(new_word)] original = raw_input('Enter a word:') if len(original) > 0 and original.isalpha(): print new_word else: print 'empty'