How to draw a line in Python??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to draw a line in Python???

I don't know drawing line in python. I wrote 'from import turtle*',its not working

20th Jul 2020, 6:49 AM
muhammed yaseen
muhammed yaseen - avatar
2 Answers
+ 4
It wouldn't work. You'll need an IDE for using turtle. Instead you can use sculpt frame work instead of python. It connects python to HTML. Try: https://code.sololearn.com/WnQZ0B7qvLjF/?ref=app (must watch) https://code.sololearn.com/WFgh5Ou95vzH/?ref=app https://code.sololearn.com/WcU7a19Js1ny/?ref=app https://code.sololearn.com/W5AkfURLIyrp/?ref=app
20th Jul 2020, 7:01 AM
Arctic Fox
Arctic Fox - avatar
+ 1
We can draw a line in Python using matplotlib Python library
20th Jul 2020, 4:42 PM
Bathini Swapna
Bathini Swapna - avatar