PygLatin 8.Word up


File "python", line 10
SyntaxError: invalid syntax

# whats wrong ? there is nothing worng with my else as far as i can see ?
pyg = 'ay'

original = raw_input("Enter a word:")

if len(original) > 0 and original.isalpha():
        print  original
        word = original.lower()
        first = word[0]

       print 'empty'


That code does not have syntax errors. Likely some other code was run.


well thats the code i came up with and its giving me an error and its driving me nuts :stuck_out_tongue:


Maybe you removed the problematic part in what you posted.

What you posted does not have syntax errors. Some other code was used to cause it.

Note that the line mentioned in the error message does not appear in the code in your post.


well the code on here is the same ( copy paste ) as it is in the "IDE"
and thats the only code i have tryed to run i have even tried to re paste and even re write it but still the same error messige :frowning:


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