Skip to content
← Back to Community
On line 11 it gives me a syntax error
Profile icon
WillMonRepl

So this just happened and it worked fine before but now it says that it is a [Pyflakes] invalid syntax is this a known bug or am i doing something wrong?

Comments
hotnewtop
Profile icon
AlexanderBirabe

Seems fine to me.

Profile icon
AlexanderBirabe

Just a suggestion but in your draw function you can use a multi-line string:

scorpion = ( r""" ___ ___ ( _< >_ ) // \\ \\___..___// `-( )-' _|__|_ /_|__|_\ /_|__|_\ /_\__/_\ \ | | /_) \ \___// `----' """ ) print(scorpion)
Profile icon
Dart

It may be because of the backslashes in Line 66 and 65