import turtle
from random import*
def star(a,b,c,d):
x=5
y=0
turtle.color(a)
turtle.begin_fill()
turtle.penup()
turtle.goto(c,d)
turtle.pendown()
while x>0:
turtle.forward(b)
turtle.right(144)
turtle.forward(b)
x-=1
turtle.end_fill()
star('red',100,0,0)
def length():
randvar=randrange(5,71)
def x():
randvar=randrange(-280,281)
def y():
randvar=randrange(-200,201)
def night_sky():
z=int(input('How many stars do you want?'))
a=random_color
b=length
c=x
d=y
while z>0:
star(a,b,c,d)
z-=1
There are a couple of ways: 1. Use turtle. It is a module that can be imported. 2. The print function 3. Use tkinter. It is a module in python that you can import.
python filename.py
open MS-DOS in the directory you have the python file in. type "python [INSERTNAMEOFSCRIPT]"
The only place you can get a legitimate trial of the software Python is from Python's official site. Other downloads may contain virus or other malicious software.
#LMGTFY Guido van Rossum, a Dutch computer programmer is the author of the programming language Python. Among Python programmers and the Python community, van Rossum us known as the "Benevolent Dictator For Life" (BDFL).
Get a picture of the internet, and draw proportionate.
Draw seven points!
There are a couple of ways: 1. Use turtle. It is a module that can be imported. 2. The print function 3. Use tkinter. It is a module in python that you can import.
check out this site... it shows you how to draw a nautical star. hope this helps someone. http://www.dragoart.com/how-to-draw-a-nautical-star-t288-1.htm go die in a hole
There are a few different types of star that can be drawn including a six pointed star and a five pointed star. Generally the best was to draw a perfect star is either with a lot of practice or to use a stencil.
Box office draw.
To create a star in Scratch, you can either draw it using the built-in paint editor or use code to draw it programmatically. If you choose to draw it, open the "Costumes" tab, select the paintbrush tool, and create a star shape. Alternatively, you can use the "Pen" blocks in the coding area to draw a star by moving the sprite in a specific pattern, adjusting the angles and lengths of the lines to achieve the star shape.
Draw a hybrid topology with a ring backbone and three bus networks.P
you just draw it
a star maybe or a diamond
star tool
Michael Palin