1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
adoni [48]
3 years ago
10

8. A sprite is a simple spider shaped thing with n legs coming out from a center point. The angle

Computers and Technology
1 answer:
Alex17521 [72]3 years ago
3 0

import turtle

s = turtle.Screen()

t = turtle.Turtle()

t.penup()

t.goto(0,-10)

t.pendown()

t.fillcolor("black")

t.begin_fill()

t.circle(10)

t.end_fill()

legs = int(input("How many legs do you want your sprite to have? "))

i = 0

angle = 360 / legs

while i < legs:

   t.penup()

   t.goto(0,0)

   t.pendown()

   t.forward(30)

   t.back(30)

   t.right(angle)

   i += 1

s.mainloop()

You might need to adjust this to your liking. I was able to do everything but draw the triangles at the end of each leg. I hope this helps though.

You might be interested in
Write a function swap that swaps the first and last elements of a list argument. Sample output with input: 'all,good,things,must
zubka84 [21]

Answer:

li=list(map(str,input().strip().split()))#taking input of the string.

#swapping first and last element.

temp=li[0]

li[0]=li[-1]

li[-1]=temp

print(li)#printing the list.

Explanation:

I have taken the list li for taking the input of strings.Then after that swapping first and last element of the list.Then printing the list.

7 0
3 years ago
Read 2 more answers
What was the first 1.0.1 version of openssl that was not vulnerable to heartbleed?
vovikov84 [41]
I suggest you to read OpenSSL changelogs to make it more clear. As there's not enough space to describe how it works. But heartbleed resistan version was 1.0.2, as I know.
5 0
3 years ago
Read 2 more answers
What does ' array ' mean in the context of graphics programming ?
Readme [11.4K]

Answer:

An array is a data structure that contains a group of elements. Typically these elements are all of the same data type, such as an integer or string. Arrays are commonly used in computer programs to organize data so that a related set of values can be easily sorted or searched.

3 0
3 years ago
A computer has __________processing device
Artist 52 [7]

Answer:

electronic processing device

4 0
3 years ago
State one advantage of organising data into columns and rows
Bezzdna [24]
It's neat organized and ready to find when needed
6 0
3 years ago
Other questions:
  • To connect multiple usb devices to a single usb port, a ____ can be used.
    12·1 answer
  • Computers heat resistant materials breathing systems for fire fighters food-growing technologies improvements in all of the item
    14·1 answer
  • Bullets in a text box will do which of the following?
    9·2 answers
  • Examples of apps include pop-up windows, validation of webform inpts and images that change when a cursor passes over them
    12·1 answer
  • What is the Default path for SYSVOL?
    14·1 answer
  • Write a program to generate personalized junk mail. The program takes input both from an input file and from the keyboard.The in
    14·1 answer
  • ITS MAKING ME TYPE URL CODES NOW!
    6·1 answer
  • A ______ is a portable device for recording audio and video.
    10·2 answers
  • How is information processed within a<br> motherboard between the hard drive, CPU and RAM,
    12·1 answer
  • Susan discovers the following log entries that occurred within seconds of each other in her Squert (a Sguil web interface) conso
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!