Interactive Programming Forums
Login
Register
Home
Questions/Snippets/Exercises
Unanswered
Tags
Ask a Question
Post a Code Snippet
Post an Exercise
Welcome to Interactive Programming Forums, where you can ask questions, receive answers from other members of the community, post code snippets and post exercies.
All categories
Ruby
(3)
Python
(10)
PHP
(7)
Perl
(2)
SQL
(8)
Javascript
(6)
HTML
(20)
CSS
(4)
jQuery
(0)
XML
(3)
Code Snippets
(1)
Exercises
(4)
Other
(9)
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.
programming
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
12 years
ago
by
Dickson Msaki
(
710
points)
Related questions
+11
votes
0
answers
How can I create a blog using XML in XHTML web site?
posted
13 years
ago
in
XML
by
Sreemonta
(
700
points)
+8
votes
1
answer
Need code to create table ??
posted
12 years
ago
in
SQL
by
shnhorn
(
1,280
points)
programming
+2
votes
0
answers
Why are the practice lessons outdated?
posted
11 years
ago
in
Python
by
Brendie
(
980
points)
programming
+2
votes
1
answer
Having Problem in HTML Tutorial 3 Last Excercise.
posted
12 years
ago
in
HTML
by
waseem.shah20
(
1,350
points)
html
error
programming
+4
votes
1
answer
How to create an XML using your own root element.
posted
12 years
ago
in
XML
by
yende
(
9,130
points)