Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can this code be translated in picture instead of turtle ? i would like it in picture not turtle Best use 'picture' module, or turtle

can this code be translated in "picture" instead of turtle ?

image text in transcribed
i would like it in "picture" not turtle
Best use 'picture' module, or turtle to draw this. Input: An integer for the width of the image (width) and the height in bricks of the pyramid ( n ). Output: An image of a pyramid that is n bricks tall in a square canvas width wide (and thus width tall). Prompt the user for the width width of the canvas. Prompt the user for the number of bricks tall to make the pyramid, n. Setup a canvas of size width by width with a cyan background. Start building the pyramid in the bottom left corner of the canvas

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

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

Students also viewed these Databases questions

Question

9. Explain the relationship between identity and communication.

Answered: 1 week ago