Please fix this code | Sololearn: Learn to code for FREE!

0

Please fix this code

I was making python logo animation i output it but it said β€œFile "file0.py", line 1 @@ -0,0 +1,103 @@ ^ SyntaxError: invalid syntax” https://code.sololearn.com/cYcwhZDxByHU/?ref=app

10 Answers

New Answer

+2

πŸ’«π˜™π˜’π˜Ίπ˜Ίπ˜’π˜―πŸ’« You cannot work with turtle module in python. You need it in web. https://code.sololearn.com/Wkzke3hvt8X5/?ref=app https://code.sololearn.com/W6cmk391WqiN/?ref=app

+1

Read the error message: What does it say? It says SyntaxError in line 1. That means you need to fix line 1. Apart from that, check the indentation.

+1

Indentation is crucial in Python. Sololearn has a Python course for Beginners

+1

πŸ’«π˜™π˜’π˜Ίπ˜Ίπ˜’π˜―πŸ’« invalid syntax is from the first line. Remove it or comment it out with # or include it in your docstring """ @@ -0,0 +1,103 @@ Developed by Chetan Rathod """ Look at your code. Every line has a single space in front. Remove those, too. Also, your code would not run in Sololearn's playground. You need a proper console for turtle.

+1

You cant do turtle in sololearn sadly :(

0

0

0

-1

Because, as the error message says, it is INVALID SYNTAX. I told you how to fix it, read my reply carefully. Now show some effort and try to fix it yourself.

-2