Question: Write a python program to draw your dream house using Turtle module. Example: # here I use user-defined function def draw_tree(x,y): . # here I

Write a python program to draw your dream house using Turtle module.

Example:

# here I use user-defined function

def draw_tree(x,y):

.

# here I use for loop

for x in Xlocations:

for y in Ylocations:

draw_tree(x,y)

ITEMS TO UPLOAD:

All input and output files should be uploaded together with your python code.

The drawing your program generates should be saved as jpeg, png (or other image) format or

copy and paste it into a word or power point document and upload it.

Your code must run.

1 - Data Types: use one or more variables of type: int, str, float, etc

2 - Modules: use one or more math, random, turtle or other modules

3 - Function: define one or more user-defined functions

4 - If Statements: use one or more if-statements

5 - For Loops: use one or more for loop

6 - While Loops: use one or more while loop

7 - Strings: use one or more string operations (functions)

8 - Lists: use one or more lists and/or their operations (functions)

9 - Dictionary: use one or more dictionaries and/or their operations

10 File Operations: use one or more file operations: open, read, write

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!