Python Forum
Basic code - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Homework (https://python-forum.io/forum-9.html)
+--- Thread: Basic code (/thread-8736.html)



Basic code - HGOBOI - Mar-05-2018

I have to make a five-pointed triangle using loops and i have to ask for the length of the sides. The corners should turn 120 degrees every turn. I have not had class for 10 weeks so i cant figure out the code. So if you can help me i would appreciate it.


RE: Basic code - j.crater - Mar-05-2018

You will need to show your attempt at solving the task. From there we can guide you and help with solving errors you might get.


RE: Basic code - Larz60+ - Mar-05-2018

A triangle with 5 points eh?