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
MArishka [77]
3 years ago
12

6. Write a program that asks the user for the number of sides, the length of the side, the color,

Computers and Technology
1 answer:
kupik [55]3 years ago
3 0

import turtle

s = turtle.Screen()

t = turtle.Turtle()

sides = int(input("Enter the number of sides: "))

length = int(input("Enter the length of the side: "))

col = input("Enter the color of your polygon: ")

t.fillcolor(col)

t.begin_fill()

for x in range(sides):

   t.forward(length)

   t.right(360/sides)

t.end_fill()

s.mainloop()

I hope this helps!

You might be interested in
When will your stony brook email address become your default or preferred email address for official stony brook communications?
Leona [35]

The stony brook email address will become the default or preferred email address for official stony brook communications as from Aug. 14.

<h3>What is the email about?</h3>

This is known to be the primary campus email address.

Note that it is the address that the University sends official email notifications and it is said to become the 'preferred' or the default or preferred email address for official stony brook communications as from Aug. 14.

Learn  more about a email from

brainly.com/question/24688558

#SPJ1

4 0
3 years ago
Describe how sharing and collaborating a spreadsheet can help the author of the spreadsheet.
Reika [66]
It can help ensure that everything is correct. Having an extra set of eyes can never hurt :)
3 0
3 years ago
What does 4g consistâ of?
stellarik [79]
The answer is  (C) broadband cellular networks

Over the past decade, a majority of the mobile service providers have built 3G networks that use packet-switching technologies. Over time, 3G evolved into HSPDA which is five times faster than 3G. Predictably, 4G networks are now commonplace and are built from LTE and Mobile WiMAX.
5 0
4 years ago
You are the administrator for the ABC Company. You are looking to install Windows Server 2016, and you need to decide which vers
Leni [432]
The best door if cost isn’t a issue. I’d get the best one available
3 0
2 years ago
Which option will Joan use to get a glimpse of how her presentation will look when she presents it to her audience? Joan will us
Murrr4er [49]

Since Joan wants to see what her presentation would look like in the eyes of her audience, it might be best for her to use the Slideshow view that is available at the bottom right side of her desktop view.

This option is a full-screen form of her Normal view in Microsoft PowerPoint. The Slideshow view is represented by the projector screen symbol next to the zoom in and out bar.

7 0
3 years ago
Read 2 more answers
Other questions:
  • If a stadium pays $20,000 for labor and $13,000 for parking, what is the stadium's profit margin if the game generates $206,000
    7·2 answers
  • The __________ endian storage format places the __________ byte of a word in the lowest memory address. The __________ endian st
    15·1 answer
  • A workplace is where people _____. a. do work b. find new jobs c. go when they are unemployed d. read advertisements for job ope
    15·1 answer
  • Computer science
    6·1 answer
  • Alice just wrote a new app using Python. She tested her code and noticed some of her lines of code are out of order. Which princ
    8·1 answer
  • What is a DreamScape?<br> Explain <br> and give example (if you want)
    10·1 answer
  • The __________ web site and list site seclists.org is home to the leading free network exploration tool, nmap.
    15·2 answers
  • A lead views a specific page on your website, say, your case study page. You then send targeted follow-up content like one of yo
    14·1 answer
  • NEED HELP NOW WILL MARK BRAINLIEST 27 POINTS!!!!!!!!!!!!!!!!
    14·2 answers
  • How does polling-based network receive work? How is it different than interrupt based network? Describe both functions and list
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!