Check yourself....some more NEED HELP!


#1



print 'Welcome to the Pig Latin Translator!'


print 'Welcome to the Pig Latin Translator!'

# Start coding here!
raw_input("Enter a Word here:")
original = raw_input
if (the_string) and the_string.isalpha():
   print the_string
else: 
    print "empty"


Replace this line with your code.


#2

:persevere::rage: grrrrrrr don't get it at aLL help me


#3

this two lines:

raw_input("Enter a Word here:")
original = raw_input

you can store the result of raw_input directly in original, so this should be one line of code

the string is stored in original, so you should check if the length of original (len(original)) is greater then zero (>0) and if original is alphabetic (original.isalpha())

then print the string (the string refers to the string stored in original)

if problems persist, post an updated version of your code


#4

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