Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Could you help me make a python code to make my star into a circle of stars as shown in the picture on the bottom?
Could you help me make a python code to make my star into a circle of stars as shown in the picture on the bottom? Thanks!
def star(x, y, size, color, theta): turtle.speed(100) turtle.penup() turtle.goto(x, y) turtle.pendown () turtle.color(color) turtle.begin fill) turtle.seth(theta) for i in range (5): turtle.left (180-36) turtle.forward(size) turtle.right(72) turtle.forward(size) turtle.endfill)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started