+ 1

Turtle

import turtle My deal = turtle.Turlte() My deal.forward(60) My deal.right(80) Syntax error.. Why its not running???

5th Oct 2017, 12:52 PM
Nilanjan Biswas
Nilanjan Biswas - avatar
4 Antworten
+ 2
You shouldn't use a ' ' (space) in variable names try My_deal = turtle.Turtle()
5th Oct 2017, 1:49 PM
hmysjiang🍀
hmysjiang🍀 - avatar
+ 2
I haven't used that module before, but doesn't it do graphic drawing? Maybe Sololearn doesn't support it?Try it again on your pc ;)
5th Oct 2017, 10:48 PM
hmysjiang🍀
hmysjiang🍀 - avatar
+ 1
Hey, i tried that but its still not working..
5th Oct 2017, 4:57 PM
Nilanjan Biswas
Nilanjan Biswas - avatar
0
Hey thanks for the answer.. Yah its for graphic drawing. I was trying to make a simple square circle.. You are right Solo learn dosent support that..
9th Oct 2017, 11:51 AM
Nilanjan Biswas
Nilanjan Biswas - avatar