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
Marina CMI [18]
3 years ago
12

Write a program that will draw a red circle on top of a blue square in the center of the canvas. The blue square should have sid

es of 100 pixels each and the red circle should have a diameter of 100 pixels
it's thru codehs and it's due tomorrow so
Computers and Technology
1 answer:
MakcuM [25]3 years ago
3 0

Answer:

Explanation:

The following code is written in Python. It uses the imports the turtle class in order to be able to draw a blue square with 100pixels per side and then a red circle with a diameter of 100 pixels that fits perfectly inside the square.

import turtle

t = turtle.Turtle()

#Make Square

t.fillcolor('blue')

t.begin_fill()

t.back(50)

for i in range(4):

 t.forward(100)

 t.left(90)

t.end_fill()

#Make Circle

t.forward(50)

t.fillcolor('red')

t.begin_fill()

t.circle(50)

t.end_fill()

You might be interested in
Digital information is stored using a series of ones and zeros. Computers are digital machines because they can only read inform
Elan Coil [88]
This is the binary system. Numbers are easily translated from binary simply by each binary number in a bit of information has an exponential value. You can translate binary to words because each set of 8 0s and 1s can be translated into numbers which are labeled in a system called asscii. For each number there is a charecter or symbol associated. for example:0000 0011 would translate to 3 and in asscii that 3 would translate into a G. therefore 00000011 would be translated twice by the computer if you hit the g key on your keyboard until a G was displayed on your screen.
4 0
3 years ago
Once a table is inserted into a publication, which two tabs become available?
rusak2 [61]

Answer:

insert i think sry if its wrong :(

Explanation:

7 0
3 years ago
How would you like your social media profiles/personas to be treated in the event of your death? why?
White raven [17]
Depends on the person really. personally i would like it all to be kept for memories but never used anymore
7 0
3 years ago
Read 2 more answers
Write a program that will compare two names. The program prompts the user to enter two names for a comparison. If the names are
asambeis [7]

Answer:

We can use comparison operator 'Equals to' (==) to compare two strings.

Explanation:

We can use conditional statement 'if else' to put conditions. If statement contains boolean expression.If statement is followed by else block. If the boolean expression evaluates to true, then the if block of code is executed, otherwise else block of code is executed.

If we want to compare two strings with uppercase, then we can convert the input strings given by users using ToUpper() string function.

For example,

 string abc;

string uppercase= abc.ToUpper(); // gives ABC as result

I have written a program using c# as a  programming language in a word document and attached the same. Please find. Thank you!

Download doc
5 0
4 years ago
Advanced Electronics has employees who use a company website to share work. By posting on the website, employees are
Anna11 [10]

Answer:

B - On the Save & Send tab, select Save to SharePoint, which will allow access to all registered users.

Explanation:

When you send the document to SharePoint, within the SharePoint app you can enable <em>track changes </em>which can be used to track your changes.

7 0
3 years ago
Other questions:
  • A file to which information is written is referred to as a(n) ____ file.
    8·1 answer
  • Motorcyclist might make an adjustment in speed when encountering ?
    7·2 answers
  • If a CPU receives theinstruction to multiply the byte-sized values $12 and $3E, thisaction will take place in the ______________
    13·1 answer
  • What was the first message ever sent in morse code?
    13·1 answer
  • Scanning low allows you to locate __________ before you hit them
    13·1 answer
  • In this problem, you will fill in the code for a function count_digits(val) that takes a positive integer, val, and returns a li
    12·1 answer
  • New technology is NOT vital to businesses in which of the following ways?
    7·1 answer
  • Ben is writing web page content on a newly launched gaming gadget. He has to use hyperlinks to help visitors navigate to web pag
    11·1 answer
  • When I click on someone who asked a question and i want to see there answer it is always blurred and when I asked a question I c
    8·1 answer
  • ...............is a personal computer that fits on desk.​
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!