Check Yourself!


#1

could any one help me to solve this problem?


#2

Hi @hchirasani,

Lines 4 and 5 need to be combined into one line that calls raw_input and assigns the result to original.

On what is currently line 6, to abide by the instructions, you should be checking len(original) rather than simply checking (original). Then, within the if block, you should be displaying the value of original rather than the value of len(original).


#3

Chech Yourself

This should help


#4

print 'Welcome to the Pig Latin Translator!'

Start coding here!

empty_string ="original"
if len is ("original") > 0:
print original
else:
print "empty"
king = raw_input("who is the king of ile ife?")
original =raw_input()
print king


#5

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