i m kind of having a wierd problem, seeing as the site is saying my code is correct and letting me proceeed but something is wrong.
okay, so the problem is that after i type in a word, be it just letters, numbers or leving it empty and hit enter nothing really happens, until i hit enter again, but then it´s empty, so i get the empty return. so i don´t really know what i´m doing wrong. Edit: if i type the word twice it works, but it isn´t supposed to be like that, is it?
any help would be much appreciated!
heres my code:
print 'Welcome to the Pig Latin Translator!' # Start coding here! raw_input('Enter a word:') original = raw_input() if len(original) > 0 and original.isalpha(): print original else: print "empty"