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

24th May 2022, 11:38 AM
💫𝘙𝘢𝘺𝘺𝘢𝘯💫
10 ответов
24th May 2022, 3:23 PM
A͢J
A͢J - avatar
+ 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.
24th May 2022, 11:49 AM
Lisa
Lisa - avatar
+ 1
Indentation is crucial in Python. Sololearn has a Python course for Beginners
24th May 2022, 12:17 PM
Lisa
Lisa - avatar
+ 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.
24th May 2022, 1:16 PM
Bob_Li
Bob_Li - avatar
+ 1
You cant do turtle in sololearn sadly :(
25th May 2022, 3:30 PM
blazer!
blazer! - avatar
0
What do i need to fix in the 1st line
24th May 2022, 12:09 PM
💫𝘙𝘢𝘺𝘺𝘢𝘯💫
0
Ill try
24th May 2022, 12:14 PM
💫𝘙𝘢𝘺𝘺𝘢𝘯💫
0
Im just a beginner
24th May 2022, 12:15 PM
💫𝘙𝘢𝘺𝘺𝘢𝘯💫
- 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.
24th May 2022, 12:13 PM
Lisa
Lisa - avatar
- 2
Pls give the fixed code
24th May 2022, 12:10 PM
💫𝘙𝘢𝘺𝘺𝘢𝘯💫