Please use python language to solve this problem.
from turtle import * #import graphical capabilities
t1=Turtle() #make a turtle to build the graphics
t1.right(90) # make turtle to first rotate 90 degrres
i=50 # set a variale i=50 we can give any value to i
while True: # do while loop
t1.forward(i) # turtle moves 50 units
t1.left(60) #turtle rotates 60 degree to its left to make hexagonal
if(i<=1): #break the loop if i<=10
break
elif(i>1 and i<=10):
i=i-0.4
else:
i=i-3
Please use python language to solve this problem. 3. Use turtle graphics to draw a spiral...
18. Turtle Graphics: Hypnotic Pattern Use a loop with the turtle graphics library to draw the design shown in Figure 4-15 On Python code with Turtle 18. Turtle Graphics: Hypnotic Pattern use a loop with the turtle graphics library to draw the design shown in Figure 4-15 Use a loop with the turtle graphics library to draw the design shown in Figure 4-140. Figure 4-14 Star pattern 18. Turtle Graphics: Hypnotic Pattern Use a loop with the turtle graphics library...
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...
Use a function in python that uses turtle graphics to draw a circle. Allow inputs of where to start (x,y) the radius, the pen color and fill color.
Must be done in python. This will be connected to other turtle assignments. Might need a sleep at end. Swimming in a Pond In this function, you will draw a small pond and have the turtle first take a nice walk around it and then jump in. The pond will need to be drawn in the upper left quandrant of your screen. This function needs to do the following: Contain two parameters to denote the color of the path (pen...
Use Python 3 Create a program that uses Turtle to draw shapes. Show the following menu: Enter Circle Enter Rectangle Remove Shape Draw Shapes Exit Circles – User inputs position, radius, and color. The position is the CENTER of the circle Rectangles – User inputs position, height, width, color. The position is the lower left-hand corner Colors – Allow red, yellow, blue, and green only Remove – Show the number of items in the list and let the user enter...
In python use draw turtle to draw 2 different shapes that look visually appealing and here are the criteria: -Must have have a function and a for loop in that function -and also have a while loop outside the function that calls the function. -and also have the user be able to input how many of the shapes he want such as the example below num_of_rectangles_and_square = int(input('how many rectangles and squares would you like drawn?'))
i have problem trying to create the class in this python 3 promblem In this problem you will be creating a Caterpillar class that will draw a caterpillar using turtle graphics. Your caterpillar object will contain the following information: 1. Body color (default "green") 2. Legs color (default "purple") 3. Body size (the radius of the 5 circles that make the caterpillars body) (default- 50) You are going to want to create a turtle object that you will use to...
Python Language Only!!!! Python Language Only!!!! Python Language Only!!!! Python 3 is used. A. Write a function named smaller that accepts two arguments: a list, and a number n. Assume that the list contains numbers. The function should display all numbers in the list that are smaller than the number n. Write a code that declares and initializes a list of numbers and a variable number and pass them to the function to test it. Please see the outcome below:...
Python Language Only!!!! Python Language Only!!!! Python Language Only!!!! Python 3 is used. A. Write a function named smaller that accepts two arguments: a list, and a number n. Assume that the list contains numbers. The function should display all numbers in the list that are smaller than the number n. Write a code that declares and initializes a list of numbers and a variable number and pass them to the function to test it. Please see the outcome below:...
Python Language Only!!!! Python Language Only!!!! Python Language Only!!!! Python 3 is used. A. Write a function named smaller that accepts two arguments: a list, and a number n. Assume that the list contains numbers. The function should display all numbers in the list that are smaller than the number n. Write a code that declares and initializes a list of numbers and a variable number and pass them to the function to test it. Please see the outcome below:...