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 ответов
+ 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
What do i need to fix in the 1st line
0
Ill try
0
Im just a beginner
- 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
Pls give the fixed code