+ 1
What's wrong with this code?
2 Respostas
+ 4
You need 3 corrections :
1) on line 10 you missed the : (colon) after for loop statement
2) in the same for loop you are using variable i as counter but never using it, it's wastage memory so whenever you need throw away variable you can use _ ( underscore)
ex. for _ in range(200):
pass
3) on line number 6 you are changing the pensize of default turtle object and you are using your own created 'vr' turtle object
so pensize will not work on it
you need to use "vr.pensize(4)"
+ 6
Hello, you can’t run turtle here in sololearn’s python interpreter directly. Use this code instead to run your code:
https://code.sololearn.com/Wa57PtyOlL9H/?ref=app