This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by kwakerz
about 9 years

(Solved)PygLatin 4/11 please help me

raw_input(“Enter a word:”) original = raw_input if len(original) > 0: <<It says the problem is on this line print len(original) else : print “empty”

if it helps this is the error message Traceback (most recent call last): File “python”, line 6, in

Answer 54d0d062d3292fa68d001327

0 votes

Permalink

why would you print the len of your variable original? you want to print the actual word

points
Submitted by MasonC.
about 9 years

Answer 54d0f7c376b8fe7139001c9b

0 votes

Permalink

dont you think the statemnt should be original=raw_input(“enter the word”)

points
Submitted by PRANAYA AGARWAL
about 9 years

Answer 54d1007251b88718f3001dfc

0 votes

Permalink

here is how it works:

raw_input(“Enter a word:”) original=raw_input() if len(original)>0: print original else: print “empty”

points
Submitted by Saba Rezaie
about 9 years