Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

hey. this program is meant to print a house and sun thats pre made onto the canvas given a user input. it does work but

hey. this program is meant to print a house and sun thats pre made onto the canvas given a user input. it does work but how would i code in a roof and door that would move with the house.
to specify, user input would move the house to the designated spot and the roof and door would just to be stuck to it and move with it.
hope this makes sense, thanks.
image text in transcribed
image text in transcribed
ect Eemainpy ToundationKEIGHT - HEIGAT - HEIGMT (C t) 2 rect(0, founoationhEIGKT, WIDTH, heIGHT) Mountola grevese housexLoccenter = float (1nput ('Enter Hovse x Location:' ) ) hooserLoctoner = float(input('Enter House Y Location:')) househitent =250 hovsentpTh =300 setcolor ('chocolate') rect (houseXioccenter - housentoth/2, houserLecloner - housentient, houseItoth, househeIewi) HHouse - roof rsyn sunL1DTA =100 sunxcelmes = float(input('enter Sun x Location: ')) sunceali=R = float(1nput('Enter sun Y Location:' ') setcoter('gold') ythonProject Inain. py

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Design With Microcomputer Applications

Authors: Glenn A. Jackson

1st Edition

0137718411, 978-0137718412

More Books

Students also viewed these Databases questions

Question

d. How were you expected to contribute to family life?

Answered: 1 week ago