Ask coding questions

← Back to all posts
The problem has been resolved.
AmanUllah6

Edit:This is now resolved.
When I type import on repl it gives me a syntax error, how can I fix this? I'm new to coding so please forgive me if this is a dumb question.

(I'm using python and to go more in-depth I type import as my first line and it gives me a syntax error.)

Comments
hotnewtop
MrVoo

Attach a repl, I have no idea how to fix the error if I can't see the code.

AmanUllah6

@MrVoo I attached it.

MrVoo

@AmanUllah6 You didn't, actually. Can you send the link?

AmanUllah6

Update: It's fixed, I'm not sure how but it after using the import it worked. Sorry for wasting your guys time and thanks for trying to help.

ShivankChhaya

You probably need to add a package after, example: import shdw