How do i draw shapes in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do i draw shapes in python?

For a project i have to ask the users some questions about time and depending on the answer I have to print a hourglass (two triangles) that more or less matches that time. Now i have no problem with the code or so but i just don't know how to print those shapes and fill them with a colour..

9th Oct 2017, 9:38 AM
Mblast St
Mblast St - avatar
1 Answer
0
you can do with turtle https://docs.python.org/3.0/library/turtle.html
9th Oct 2017, 10:12 AM
Oma Falk
Oma Falk - avatar