How to create a checkerboard on Python turtle?
I need to create a generic checkerboard in that box, if anyone knows how to code this I would be absolutely grateful and grant you brainliest for sure!

Answers

Answer 1

Answer:

here is my crude attempt:

import turtle

t = turtle.Turtle()

t.speed(0)

colors = ["black", "yellow"]

SQUARES = 8

SQUARESIZE = 20

def rectangle(color, s):

 t.begin_fill()

 t.pendown()

 t.color(color)

 for i in range(4):

   t.forward(s)

   t.right(90)

 t.end_fill()

 t.penup()

for row in range(SQUARES):

 for col in range(SQUARES):

   t.setpos(row*SQUARESIZE, col*SQUARESIZE)

   rectangle(colors[(row+col)%2], SQUARESIZE)


Related Questions

I really need this answer please

Which of the following describes passing by reference?
passing a memory address
passing a defined value
passing a data type copy
passing a variable name

Please help me

Answers

Answer:

Passing by memory address

Explanation:

When you pass a memory reference like &a the data stored at this location can be directly accessed by the function through a dereference like *a = 2;

Brainliest or whatever

Answers

Answer:

Brainliest

Explanation:

Yea

Answer:

tim berners lee

Explanation:

plz give brainliest

sorry if im wrong

Find the length of the shorter leg in the triangle pictured below

x=6
x=24
X=12
X=12 square root 3
X=36

Answers

answer is 12!!!!!!!!!!!!!!!!!

Why are default parameters useful? *This is JavaScript*

Answers

Answer:

It helps in setting a different default value.

Explanation:

They allow you to initialize named parameters with default values if no values are passed into the function.

Why is it important to think about the programming language to use?

A) Some programming languages might be too complicated.
B)Some programming languages are better on different platforms.
C)The choice of programming language determines what type of game you
can make.
D)Some programming languages are used more in some countries.

Answers

The reason that is important to think about the programming language to use is option C)The choice of programming language determines what type of game you can make.

Why should one consider their programming language of choice?

The ability to communicate clearly and concisely as well as develop more advanced analytical skills can both be benefited from knowledge of programming languages. Instead of displaying raw data straight from the source, BASIC is a high-level language that enables the programmer to access simpler, more consolidated facts and operations.

Note that Knowing numerous programming languages improves your ability to think creatively and effectively solve problems and enables you to accomplish your goals in novel ways. The more programming languages you know how to use, the easier it will be for you to solve a particular problem and the more adaptable you will be as a developer.

Learn more about programming language  from

https://brainly.com/question/16936315
#SPJ1

How to make videos that I watch online not buffer and stop so much? it's really annoying.​

Answers

I would recommend buying a higher quality device. This might be happening because you device is old. If not then I’m not sure.

I hope this helps.

Answer:

Delete ittttttttttttt

Write the code (from to )using for loop andif elseif statementto accept themobile phone numbersof200 residents of Dubaiasstringand check if thelength of eachmobile number is10. Depending on the first 3 characters of the mobile number,display the messagefrom the table below:First 3 charactersMessage“050”, “054”, “056”Etisalat number“052”,“055”, “058”DunumberFor anyother input(if the phone number is not a ten digit number or if it does not start with any of the above digits)Not a valid mobile number

Answers

Answer:

In Python:

nos = int(input("How many phone number: "))

for i in range(1,nos+1):

   phn = input("Phone Number: ")

   if not len(phn) == 10:

       print("Invalid")

   else:

       charactersMessage = phn[0:3]

       if charactersMessage in ['050', '054', '056']:

           print("Etisalat Number")

       elif charactersMessage in ['052', '055', '058']:

           print("Du Number")

       else:

           print("Invalid")

Explanation:

Prompts the user for the frequency of phone numbers to check

nos = int(input("How many phone number: "))

This iterates through the phone numbers

for i in range(1,nos+1):

This prompts the user for phone number

phn = input("Phone Number: ")

Prints invalid id number length is not 10

if not len(phn) == 10:

   print("Invalid")

If otherwise

else:

This gets the first 3 characters

   charactersMessage = phn[0:3]

Prints Etisalat number if the characters are either 050, 054 or 056

   if charactersMessage in ['050', '054', '056']:

       print("Etisalat Number")

Prints Du number if the characters are either 052, 055 or 058

   elif charactersMessage in ['052', '055', '058']:

       print("Du Number")

Prints error if otherwise

   else:

       print("Invalid")

Sube
When you access a website, your
translates web language code into words, graphics, and videos.
A website address
B. web host
ООО
C Internet service provider
D. HTML decoder
Eweb browser

Answers

Answer:

I think the answer is C correct me if I'm wrong

Answer:

A

Explanation:

im not 100% positive about that but im like 99.9% sure

What is the name of Thompsons computer language?

Answers

Answer:

below

Explanation:

Bon programming language

Answer:

Explanation:

Bon programming language

While writing Multics, Thompson created the Bon programming language

Which basic design principle is primarily made up of lines?​

Answers

Answer:

Shape

Explanation:

15. It is the process of capturing data or translating information to recording format
A. Documentation
C. Production Report
B. Reporting
D. Output​

Answers

Answer:

A Documentation, hope this helps.

What are the steps for inserting an internal link?
1. Type into a cell.
2. Then, select the that includes the cell you wish to link to.
3. Next, click the cell you wish to reference.
4. Finally, press .

Answers

Answer:

=

Worksheet

Ctrl + Enter

Explanation:

Answer:

=, worksheet, Ctrl+Enter

Explanation:

Star and peer-to-peer are types of

Answers

networks? i’m not sure, but i know peer-to-peer is a type of network. i’m not sure about lending though

communication network

Which of the following represents a bit?

0

01010110

3F02C

12.356

Answers

Answer:

0

Explanation:

A bit is a single piece of information and the smallest unit that can possibly represented by a computer, like 1 or 0.

The one that represents a bit is 0. The correct option is A.

What is a binary digit?

A binary digit (bit) is the smallest unit of binary data that can be stored in a computer system.

A bit can only be in one of two states: on or off, which are frequently represented by ones and zeros. Which information is entered into and processed by the computer is determined by the combination of ones and zeros.

One of the four types of number systems is a binary number system. Binary numbers are basically represented in computer applications by merely two symbols or digits, namely 0 (zero) and 1 (one).

A bit is a binary digit, which is the smallest data increment on a computer. A bit can only hold one of two values: 0 or 1, which correspond to the electrical values off or on.

Thus, the correct option is A.

For more details regarding binary number, visit:

https://brainly.com/question/28222245

#SPJ2

Ill give brainliest if possible

Answers

i can’t see that zoom it in

Answer:

it is C

Explanation:

it is C because it will check morning list and afternoon list to find the kid

write a loop that will input 8 numbers from the keyboard and find the sum

Answers

THIS IS FOR PYTHON

total = 0

for i in range(8):

    number = int(input('Number: '))

    total += number

print(total)

The loop that will input 8 numbers from the keyboard and find the sum is as follows:

user_input = [int(input('Enter your value: ')) for i in range(8)]  

print(sum(user_input))

The code ask for the user's input for 8 times. Recall the range is 8.

Then we loop through the users input values

The looped users input will be summed using the sum() function. The sum function sums all the users input value.

The summed value is then printed with the print statement.

learn more on loop: https://brainly.com/question/14201070?referrer=searchResults

What is Internet Service Provider ? ​

Answers

Answer:

A company that provides subscribers with access to the internet.

Explanation:

Answer:

A company that supplies wifi service to access, use or participate in the internet.

Explanation:

Some examples would be Comcast, Verizon, Time Warner or ISP.

write a python program to input a list of no. and swap element at the even location with element at odd location​

Answers

Answer:

I changed the title to describe the task the code accomplishes, this makes    the contrnt more easily searchable and accessible.

Explanation:

Answer:

The content is more easily searchable and accessible.

Explanation:

8.1 edhesive answer please

Answers

Answer:

dont understand what u mean

Word Bank:


X Y Color Line Width Radius




Fill in the correct parts of a circle command:


draw_circle ((

x

,

y

),

Line Width

,

Color

,

Radius

)

Answers

Explanation:

circle with radius and colour red

Answer:

x, y  ,  radius  ,  line width  ,  color  

Explanation:

type x in the first blank

then y in the second blank

then radius in the third

in the forth line width

then in the last one type color

Answer 1:

X

Answer 2:

Y

Answer 3:

Radius

Answer 4:

Line Width

Answer 5:

Color

write the html code to get the following webpage
the solar system
ina solar system the planets move around a star. earth is a planet around sun .there are eight planets in a solar system . in order of increasing distance from the sun these are 1.mercury 2.venus 3.earth 4.mars 5.jupiter 6.saturn 7.uranus 8.neptune
save the html document as solarsystem.html

Answers

Answer:

<!DOCTYPE html>

<html>

<head> <title>webpage</title>

</head>

<body>

<h1>The Solar System</h1>

<p>In a solar system the planets move around a star. Earth is a planet around sun. There are eight planets in a solar system . In order of increasing distance from the sun these are: </p>

<ol>

<li>Mercury</li>

<li>Venus</li>

<li>Earth</li>

<li>Mars</li>

<li>Jupiter</li>

<li>Saturn</li>

<li>Uranus</li>

<li>Neptune</li>

</ol>

</body>

</html>

<!-- and save the file as solarsystem.html -->

Plz help me I need this done by 7:50

Answers

Answer:

proportionality bias

Explanation:

The proportionality bias is the tendency to assume that big events have big causes. It is a type of cognitive bias and plays an important role in people's tendency to accept conspiracy theories

I hope this helps! ^^

☁️☁️☁️☁️☁️☁️☁️

HTML code to display square bullets in an unordered list.​

Answers

Answer:

Find the source code below.

Explanation:

HTML is an acronym for hypertext markup language and it is a standard programming language which is used for designing, developing and creating web pages.

Generally, all HTML documents are divided into two (2) main parts; body and head. The head contains information such as version of HTML, title of a page, metadata, link to custom favicons and CSS etc. The body of the HTML document contains the contents or informations of a web page to be displayed.

The complete code for the unordered list with square bullets is written below;

<! DOCTYPE html>

<html>

<head>

<title> Square bullets in an unordered list. </title>

</head>

<body>

<h1> My Favorite Subjects </h1>

<p> This is a list of my favorite subjects; </p>

<ul style =" list- style- type:square">

<li> Computer </li>

<li> Mathematics</li>

<li> Physics </li>

<li> History </li>

</ul>

</body>

</html>

Note: The code isn't indented because i'm not using an appropriate code editor.

Since we are creating a document with an unordered list, we would use the <ul> and </ul> parent tag while the child tag <li> and </li> sorts the list. Also, we would use the style attribute to specify the required inline style (square bullets) for the list.

The idea that money, language, education, or infrastructure creates a gap between those who have access to information technologies and those who do not.

Answers

Answer:

The Digital Divide, or the digital split, is a social issue referring to the differing amount of information between those who have access to the Internet (specially broadband access) and those who do not have access

Explanation:

Select the correct answer.
Which graphical element of a spreadsheet does this image represent?

A. column chart
B. scatter plot graph
C. pie chart
D.bar graph

Answers

Answer:

Pie Chart

Explanation:

It’s a pie chart :)

Explanation: pie charts of course look like pie: a circle that has been cut into pieces

Q.3- What are keywords?
A. These are names given to variables, constants, classes and
methods.
B. These are constants that hold a fixed value of any of the data types.
C. These are special symbols that perform specific operations,
D. These are reserved words that have special meaning in java
language​

Answers

Answer:

These are reserved words that have special meaning in java  language​

Explanation:

Literally, keywords are special words that have special meaning and purpose and can not be used from any other purpose aside from its predefined purpose.

In other words, they are reserved words.

Examples are: public, class, String, int, and many more

Hence, option (d) is correct

Using these Web sites for guidance, write a definition in your own words for five of the terms listed below.

gigabyte
intranet
pixel
telecommunication
modem
raster graphic
vector graphic
digital
GUI
Question # 1
Long Text (essay)
Write your definitions for the five terms of your choice.

Answers

Answer:

Gigabyte: Unit of measurement, is 10^9 bytes.

Intranet: Network that is used for sharing info, and other services.

Pixel: Creates a image, it is the smallest element on a display on a device.

Modem: Converts signals produced by a computer or another type of device.

Digital: Problem solving by any capable class device.

Explanation:

Short and simple.

what is the shortcut to select all text?

Answers

Highlight everything with your curser.
Double click on the sentence and press the highlighting tool -

HELP ASAP 90 Points
Now it is your turn to practice recording a macro. You have recently started working in an office, and you are required to create multiple letters a day. Your company does not have a standard letterhead and you realize you can easily create a macro with your company letterhead. This will prevent you from having to type this information again and again.

Assignment Guidelines
Record a macro named “letterhead” and create a button on the quick access toolbar.
Develop a letterhead for a company of your choice. Include the company name, address, and phone number.
Format the letterhead in an appealing format.
After you have recorded the macro, open a new document.
Run the macro using the options in the macro grouping on the view tab.
Save your document as “letterhead macro” and submit it to your instructor for grading.

Answers

Answer:

Macros automate common tasks. A macro can be created for virtually any task that you perform in Word. The amount of steps is irrelevant. You can even create a macro that automatically places certain text in a document with as many attributes as you’d like!

Macros are created with a recording device similar to a common tape recorder. Once you start recording your macro, a toolbar pops up with standard stop and pause buttons. The following is an example of how to create a macro for your customized letterhead paper.

Creating The Letterhead Macro

Open a blank document. You want to assign your macro to all documents.

From the View Tab, choose Macros and Record Macro. The Record Macro dialog box is displayed as shown below.

Type a name for your macro, such as Letterhead. (Spaces are not allowed; use an underscore to indicate spacing).

Explanation:

Alex works as a customer-service representative at an insurance company. Before starting his shift, Alex reviews issues from his last shift to make sure they have been resolved. What workplace habit does Alex show by doing this? problem solving initiative efficiency interpersonal skills

Answers

Answer:

problem-solving

Explanation:

he is making sure all his problems have been resolved before starting a new shift.

Answer:

It's initiative

Other Questions
The ratio of pennies : nickels is proportional to the ratio of nickels : dimes,and to the ratio of dimes : quarters. If you have one penny and two nickels,how much money do you have? The period of the sound waves produced by the motor is 8.3 milliseconds.Calculate the frequency of the sound waves. what's osmosis ?.... HELPP ILL GIVE CROWN!!!!!!!!!!!!! Using the box below, what did all three events have in common? * Federalists at the Hartford Convection * South Carolina and the Nullification Crisis * Southern states following Abraham Lincolns election A ) All helped the nation achieve Manifest Destiny B ) All threatened to end slavery C ) All threatened to secede D ) All supported the Temperance Movement The Constitution separates the government's power into three branches. Each branch has separate responsibilities, but they all must interactwith each other in different ways. This separation of powers includes a system of checks and balances, which are ways that each branch canlimit the others.Based on the passage, the founders of the United States would most likely agree with which of the following statements?A) Kings do not have enough power.B) Kings can take advantage of their power.C) A government should have few checks and balances.D) The branches of government do not need to interact. what is the domain of the function a^x Carter bought 3/4 yard of fabric for an art project. He used 3/8 yard of the fabric. What fraction of a yard of fabric does Carter have left? What is the perimeter of the composite figure? Can someone please check my answers? I'm not sure if i completed these questions with the correct pronouns. (espaol) Edhesive 6.8 lesson practice answers Da los resultados de las siguientes multiplicaciones de expresiones algebraicas:1) 2a^2 por 3a=2) -5x^2 por 2xy=3) 2m (4m - 3)=4) (3xy - 2) por ( 5x^2 + 4)=5) 2a^2 por 3a^3=6) - xy^2 por -5mx^4y^3=7) 3a^2b por -4b^2xPorfa ame urge Write a net ionic equation for the neutralization reaction of acid with a hydroxide base. (Include phase symbols) pleasee helpp answer correctly !!!!!!!!!!!!!!! Will mark Brianliest !!!!!!!!!!!!!!!!!!!!!!!! Which Application program saves data automatically as it is entered?MS WordPowerPointMS AccessMS Excel Hello im in 8th grade and I need to get my grades up so anyone know the answer to -12 minus 12x = 36work also needs to be shown if possible thank you A dog finds a toy at rest on the floor. The dog pushes the toy horizontally on a frictionless floor with a net force of 2.0 Newtons for 3.0 meters. How much kinetic energy does the toy gain? Round your answer to the nearest whole number. How did Harriet Beecher Stowe's Uncle Tom's Cabin support reform efforts? 1 Which is the simplified form of the expression (1021495* (104)05) ?? 1 30 O O g30 012 060 O p12,60 I am not sure how to solve this could anyone help??? magbigay ng mga dapat tandaan upang maiwasan ang sakuna sa paglalaro ( bato bola )