4. check yourself


Guys, good afternoon.
What is wrong with my code?

print "Welcome to the Pig Latin dictionary"

raw_input("enter a word")
original = raw_input
if len(original) > 0:
print original
print "empty"


So, you should have after your print statement a variable called original that is equal to raw_input, like so:

original  = raw_input("wut ur name")

Then have a variable called empty_string that is a empty string:

empty_string = ""

Then finish your code like you have it.
And that should fix your problems :smiley:


Thanks mate, that was really helpful


Your welcome. Please mark my post as the solution, which is by the like button


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.