1

I'm getting crazy syntax errors in my terminal. For example:

end_result = ASCII_to_alpha_list(coded_list)
return ''.join(end_result)

Returns

End_result = ASCII_to_alpha_list(coded_list)
         ^
SyntaxError: invalid syntax
>>> 

What's weirding me out especially is that it doesn't matter what I put down - it returns the same error.

print 'Hi'

returns

print "Hi"
    ^
SyntaxError: invalid syntax
>>> 

Beginner coder here. Thanks for any help!

hanleyhansen
  • 5,984
  • 7
  • 33
  • 71
Eli Dinkelspiel
  • 719
  • 1
  • 6
  • 15

1 Answers1

3

You almost certainly have an error on the line before, probably a missing close parenthesis.

Daniel Roseman
  • 567,968
  • 59
  • 825
  • 842