Check Yourself..Some More!


#1

Welcome to the Pig Latin Translator!
PYTHON 99
Traceback (most recent call last):
File "python", line 6, in
TypeError: object of type 'builtin_function_or_method' has no len()

print 'Welcome to the Pig Latin Translator!'

Start coding here!

raw_input("PYTHON")
original = raw_input
if len(original)>0 and original.isalpha():
print original

else:
print "empty"

What did I do wrong?


#2

Um..I am supposed to put () after raw_input in the third line,,,:smile:


#3

2 posts were split to a new topic: Check yourself


#5