i am trying to learn python by myself on codeacademy, and i am looking through past lessons, but i can't figure out what i did wrong. i think i copied everything correctly.
the assignment is to check the user input word to see if it contains at least one character. if it does contain more than one character, the program is supposed to print the word the user inputted in the beginning. if not, the program is supposed to say " empty".
the code lets me input a word, but then even if the word has more than one character, it will not print out the word. i feel like the solution is probably very simple, but i can't figure it out. i think the semicolons are in the right spaces. i would appreciate your help very much
print "Welcome to the English to Pig Latin translator!"
original = raw_input("tell me your secrets")
def true_function():
if len(original)>= 1:
print(original)
else:
print("empty")
input()in Python 3.print(). I guess I should read more :).