Hi. I have answered the same question before. Here is the completed code for this problem. Comments are included, go through it, learn how things work and let me know if you have any doubts or if you need anything to change. If you are satisfied with the solution, please rate the answer. Thanks
Note: Please maintain proper code spacing (indentation), just copy the code part and paste it in your compiler/IDE directly, no modifications required.
#code
import turtle
'''
method to draw a logo for a company with name=text
this method draws a logo something resembling
sun & rays or giant wheels
'''
def drawLogo(t, text):
#pen up
t.up()
#using yellow as fill color (use any color
you want)
t.fillcolor('yellow')
#start filling
t.begin_fill()
#drawing and filling a circle with radius
50
t.circle(50)
#finish fill
t.end_fill()
#turning left 90 degrees
t.left(90)
#moving forward 50 spaces. turtle is now at
the center of the circle
t.forward(50)
#pen down
t.down()
#using orange as pen color
t.pencolor('orange')
#looping for 20 times
for i in
range(20):
#moving forward 100
spaces, to draw a line from center to edge
t.forward(100)
#drawing a 10px dot
at the end
t.dot(10)
#moving back 100
spaces
t.backward(100)
#moving right 360/20
degrees (360 divided by number of points)
t.right(360/20)
#pen up
t.up()
#moving down 150 spaces
t.backward(150)
#writing company name
t.write(text,
align='center', font=('Arial',
20))
#creating a turtle
t=turtle.Turtle()
#max speed
t.speed(0)
#drawing a logo, change 'COMPANY NAME' to anything you
like
drawLogo(t,'COMPANY NAME')
#hiding turtle and finishing off
t.ht()
turtle.done()
#OUTPUT
With Python, create a random creative logo for a company using turtle graphics. -logo can be...
1. Use Turtle Graphics to create a tic tac toe grid in Python. Write a Python program that prints a tic tac toe grid. Use Turtle Graphics to create the graphic.
Challenge: Recursion and Python Turtle Graphics Submit Assignment Due Friday by 11:59pm Points 100 Submitting a file upload Available after Nov 9 at 12am Challenge: Recursion and Python Turtle Graphics Description: Write a program that draws a picture using Python e, recursion, and Turtle graphics e. Purpose: The purpose of this challenge is to provide experience working with recursione in Pythone. It also provides experience working with Turtle graphics in Pythone Requirements: Recursion and Python Turtle Graphics provides information on...
Turtle Graphics with nested loop: Write a turtle graphics python program repeat_squares.py that uses nested loops to draw 100 squares, to create this design: Turtle-squares.png starting with the smallest square in the bottom right-hand corner. Start at position (-4,4). At each step increase the length of each side by 4 pixels. Draw 100 squares. Please submit with an animation speed of 0 and the turtle hidden turtle.hideturtle()
Q Create a program using turtle. The program can be graphics, racing of elements, or writing names. *This should be done by moving the turtle around the screen, not by using any functions that prints text/graphics on the screen. *
Hey I was working on a project in python using turtle graphics and I wanted to recreate the letters BAJ in python using the turtle module
Write a Python program to create some recursive artwork, using the turtle module by using recursive functions. This program should look very creative, wanna get some points!
1. Use Turtle Graphics to create a tic tac toe game in Python. Write a Python program that allows for one player vs computer to play tic tac toe game, without using turtle.turtle
Python Question Task 4 Create a function named poker_table that uses Turtle Graphics to create a single poker table to accommodate all players. There should be four parameters: num_players indicates the number of players; side_length indicates the length in pixels of each side of the table; and x and y, which give the location where you should start drawing the table. The poker table should be a simple regular polygon (that is, with sides of equal length). The number of...
8. Create the following three labeled rectangular buttons using turtle graphics using the write method (eg, t.write("Hi!")). Have the distance between the Start and Stop buttons be the same as the space between the Stop and Pause buttons Start Stop Pause
Using Turtle Graphics, add a graphical design of any Food item of your choice This is a python programming turtle question