Welcome to Interactive Programming Forums, where you can ask questions, receive answers from other members of the community, post code snippets and post exercies.

create tirangle in python using *

+12 votes
Hi guys i am having difficulties when trying to create array to create a triangle in python. I have googled it but i couldn't find anything. please help me.
posted 12 years ago in Python by Eyuel Kibebew (2,160 points)

1 Answer

0 votes
#you can use a module called turtle to draw a triangle
#Use the following code
from turtle import *
for i in range(3):
      left(360/3)
      forward(60)
answered 11 years ago by Dickson Msaki (710 points)

Related questions

+11 votes
0 answers
posted 12 years ago in XML by Sreemonta (700 points)
+8 votes
1 answer
posted 12 years ago in SQL by shnhorn (1,280 points)
+2 votes
0 answers
posted 10 years ago in Python by Brendie (980 points)
+2 votes
1 answer
posted 11 years ago in HTML by waseem.shah20 (1,350 points)
+4 votes
1 answer
posted 11 years ago in XML by yende (9,130 points)