Getting SCT error


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/learn-python/lessons/pyglatin/exercises/check-yourself-some-more

<In what way does your code behave incorrectly? Include ALL error messages.>
After pressing ‘run’, and typing out my input (i put in ‘woofy’, SCT appears in the right box and my answer is read as wrong in the most lefthand side column.

<What do you expect to happen instead?>
I’m not sure but I thought my code is correct. help pls! thank you!

```python

raw_input(“Enter a word:”)
original = raw_input()

if len(original) > 0 and original.isalpha():
print original
else:
print “empty”

<do not remove the three backticks above>

#2

You call raw_input twice, and don’t store their answer:

original = raw_input("Enter a word: ")

if(len(original)>0 and original.isalpha()):
  print (original)
else:
  print ("Empty")

#3

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