Question: 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.
hey. this program is meant to print a house and sun thats
pre made onto the canvas given a user input. it does work

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!