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]
2 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]2 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
Look at the simple circuit illustrated in the figure above. What will happen when only switch S1 is closed?
Tema [17]
If only S1 is closed, due to the diode across S3 is pointing to the right, the current cannot be flowing to the left.

So nothing will happen, the bulb is not on.
6 0
2 years ago
Read 2 more answers
when applying styles to a document, which features of the style can be modified in the themes grouping?
Debora [2.8K]

colors

fonts

effects

Those 3 would be the answers :) Good Luck!

8 0
2 years ago
Read 2 more answers
A key principle of human-computer interaction (HCI), that states that the appearance of any control should suggest its functiona
kaheart [24]

Answer:

"Affordance" is the correct answer.

Explanation:

  • The performance or properties of such an entity that determines its possible applications which makes it abundantly clear how everything could and should always be used people are sitting or standing on something like a chair as it is very apparent.
  • Users are allowed to experience conceptions without thinking about how to make use of other objects.
4 0
3 years ago
In which scenario would instant messaging be more useful than other forms of communication?
Fed [463]
When you're in a library and you don't want to disturb other people.
8 0
3 years ago
I need help with this question
weqwewe [10]

Answer:

<h3>C IS YOUR ANSWER</h3><h3>explanation is available</h3>

Explanation:

<h3>The digital divide describes the gap between people who have access to affordable, reliable internet service (and the skills and gadgets necessary to take advantage of that access) and those who lack it. ... The Access Divide—This is the most visible digital divide.</h3>
3 0
2 years ago
Read 2 more answers
Other questions:
  • The technical relationship between inputs and outputs, which is needed to understand the difference between the short run and th
    5·1 answer
  • if you want to present slides to fellow students and co-workers which productivity software should you use to create them?
    13·1 answer
  • _____ is the software that protects you computer from harmful files, Trojan horses, and worms.
    13·2 answers
  • here are pros and cons for doing temp work. Please select the best answer from the choices provided T F
    9·2 answers
  • What is an unintended consequence of pesticides used on crops
    9·2 answers
  • A university wants to schedule the classrooms for final exams. The attributes are given below:
    6·1 answer
  • Which K-Drama was made in 2009?
    5·2 answers
  • when files on storage are scattered throughout different disks or different parts of a disk, what is it called
    10·1 answer
  • Which pair of devices have the same input motion and different outputs?
    15·1 answer
  • Jhon bought a new printer for his desktop computer. It does not work even though he checked all the cables and cords. What do yo
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!