please help asap! i’ll give brainliest to the right answer

Please Help Asap! Ill Give Brainliest To The Right Answer

Answers

Answer 1

Answer:

import turtle

my_turtle = turtle.Turtle()

my_turtle.speed(0)

my_turtle.pendown()

colours = ["yellow", "blue", "red", "orange", "cyan", "pink", "green", "brown"]

for sides in range(8):

   my_turtle.pencolor(colours[sides])

   my_turtle.forward(100)

   my_turtle.left(45)

Explanation:

The pencolor statement must be inserted before the forward() call otherwise you have no control over the color of the first line.You don't need the count variable, since the 'sides' variable is a perfect counter to index the colours array.

Related Questions

Process of sending signals, interpreting received signals, and adjusting through signals is called

Answers

Answer:

TCP The Transmission Control Protocol

Explanation:

If the radius is 1/2 of the diameter, what is the circumference of each wheel if "Circumference = 2 x 3.14 x radius"


need the help asap please!

Answers

Answer:

pi times the diameter

Explanation:

d = 2r

circumference is 2πr

In everyday life, we use numbers based on a combination of digits between 0 and 9.
This counting system is known as decimal, or ?
•Denary
•Binary
•Hexidecimal
PLEASE ANSWER I WILL GIVE U BRAINLY!!

Answers

Answer:

denary is the answer thank you

area of trapezium is 54cmsq if parallel sides are 10cm and 8cm long find the distance between the parallel sides​

Answers

Explanation:

the distance between the parallel sides is the height(h)

formula to find area of trapezium :

Area = 1/2(a+b) h

54 = 1/2 (8+10) h

54=1/2(18) h

54 =9h

54/9=h

h= 6 (ans)

Discuss the use of spreadsheet software compared to database software to store and manipulate student data.

Answers

Explanation:

Because databases store information more efficiently, databases can handle volumes of information that would be unmanageable in a spreadsheet. Spreadsheets have record limitations whereas databases do not. Compared to databases, spreadsheets can require a large amount of hard-drive space for data storage.

1. Create a naive Bayes model for this data set.



2. What prediction will the naive Bayes model return for the query q=(1,0,0)?

Answers

Answer:

import the GaussianNB class from the scikit-learn naive bayes module using the import statement;

from sklearn.naivebayes import GaussianNB

create the classifier,

clf = GaussianNB()

Then train or fit a section of the dataset (the training set) with the classifier, then predict the label of the test section of the dataset with the provided query "q".

trained = clf.fit( train_features, train_label)

predict = clf.predict(q)

Explanation:

The scikit-learn is a machine learning package in python used to create machine models from datasets. It has several classifiers and regressions algorithms.

The naive baye algorithm is a machine learning class in python used in supervised machine learning to create models used to predict a label given a set of features using a classifier.

What is one difference between the Simple Gear Train with Same Size Gears and Simple Gear Train with Different Size Gears?

Answers

Answer:

One difference between a Simple Gear train with Same Size Gears and Simple Gear Train with Different Size Gears is the that the number of rotations of both shafts in the Simple Gear Train with Same Size Gears is the same the number of rotations of both shafts in the simple Gear Train with Different Size Gears are different

Explanation:

A simple gear train is one in which each shaft has only one shaft, and the motion of one shaft in transmitted to the other when the gears are in contact

Other Questions
NEED HELP QUICK PLSSSS Angelina has 5 cakes. She wants to cut them into 2/5 pieces. How many pieces will she be able to cut? Elena ran 20 miles this week, which was three times as far as Clare ran this week. Clare ran 5 more miles this week than she did last week. What expression would go in each box? What is the most likely reason cities became dirty and overcrowded during the Industrial Revolution? What is the word equation for photosynthesis? What is the answer?????????????? HELP I PROMISE I WILL GIVE BRAINLIEST!!!!!!!! 8. What conditions led to riots in in urban African American communities what is poultry farming ??? Pls help me I will give brainiess According to the article "Caring for Vets Should Be National Duty," how does the VA Mission Act affect the medical community? It makes it illegal for doctors to charge vets for treatments related to their military service. It helps recruit new doctors to the VA that specialize in treating PTSD and painkiller abuse. It creates programs to provide employment to veterans training in medical fields. It provides funds to raise the salaries of doctors who focus on treating vets. "Crossing Over" is a key part of the process because it leads to: athe completion of mitosis bgrowth and repair of body cells cgenetic variation help me plllzzz I will give Brainliest cuanto tiempo pasa para que el nuevo ser se lo considera feto what delegate only voted in the case of a tie among the states!? a. ben franklinb.george washington c. roger shermand. james madison What caused the most deaths in the Aztec and Inca populations?O European diseasesCombat with rival citiesO Human sacrificeO Combat with the Europeans What is the impact of language on a people and a place? PLEASE HELPA car is traveling at 80 mph for 5 hrs, how long will it take to travel the same distance at 20 mph? hellllllppppppp pleaseeeeei will mark you brillllllllllllll? Give the equation of the line below: