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
Ostrovityanka [42]
3 years ago
9

Give me a code that draws a house with a roof in python. Please Answer!!!

Computers and Technology
1 answer:
Varvara68 [4.7K]3 years ago
8 0

import turtle

window = turtle.Screen()

tr = turtle.Turtle()

tr.forward(100)

tr.left(90)

tr.forward(100)

tr.left(90)

tr.forward(100)

tr.left(90)

tr.forward(100)

tr.back(100)

tr.left(120)

tr.forward(75)

tr.right(78)

tr.forward(60)

window.mainloop()

In my code, we use the turtle module for the graphics to draw the house with a roof.

You might be interested in
Which of the following is the largest unit of information?
Mila [183]
What are the choices?

5 0
4 years ago
Read 2 more answers
What does gigabyte mean
son4ous [18]
A unit of information equal to one billion {109} or, strictly 230 bytes
4 0
4 years ago
Guys i keep trying to get in touch with brainly but it says "your request could not be submitted" Can someone please help me ?
Ann [662]
Sure what is your question? It also happened to me too
What grade are you in
7 0
2 years ago
Read 2 more answers
The use of an information system to support the sharing of content among networks of users related by common interests is termed
lubasha [3.4K]

Answer:

The answer is E, Social media information system.

Explanation:

What makes the answer unique is the fact that the system only supports information shared within a specific group of local network users.

By definition, Social media information system is an information technology tool that assists in the reversible distribution of information or digital content among people of like and similar network.

5 0
3 years ago
Guided transmission media employ an antenna for transmitting through air or vacuum.
olganol [36]

Answer: False

Explanation:

Unguided medium employs an antenna for transmitting through air or vacuum.

For guided mediums the transmission is in the form of twisted copper wires, shielded twisted copper wire and optical fibres. They henceforth do not depend upon antennas for transmission through air using antennas.

5 0
4 years ago
Other questions:
  • 14. Which commercial RDBMS product was the first to hit the market and is the biggest?
    15·1 answer
  • A car moves down the street at 45 kph. The driver takes his foot off the gas pedal but does not brake. Which is the correct expl
    5·2 answers
  • Quick SearchLinks to an external site. lets you refine or narrow your search results using links on the right side of the screen
    5·1 answer
  • I found a random Nether Portal in my Minecraft Singleplayer world. Why is it there?
    8·2 answers
  • Write a program that creates a dictionary containing the U.S. states as keys and their capitals as values. (Use the Internet to
    10·1 answer
  • Direct Mapped Cache. Memory is byte addressable. Fill in the missing fields based upon the properties of a direct-mapped cache.
    6·1 answer
  • Assume the availability of an existing class, ICalculator, that models an integer arithmetic calculator and contains:an instance
    12·1 answer
  • If an additional term relates to payment, quality, quantity, price, time, and place of delivery, the CISG considers the added te
    12·1 answer
  • Design a class named Employee. The class should keep the following information in member variables:
    5·1 answer
  • You can use _____ to track the state of each user in the application.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!