Computer Science, asked by SandraRobin2796, 9 months ago

Means changintaxt in a document

Answers

Answered by saiganeshdrona
0

Answer:

Drawing Any Regular Shape in Scratch

Now that you’ve drawn many different regular shapes in Scratch, you’ve likely noticed that the

scripts to do each have a lot of similarities. Look at the scripts for drawing a triangle, square,

and pentagon:

Everything before our block is exactly the same! And everything in our block

is the same, except the number of steps, the number of degrees to turn, and the number of

times to repeat. We can take advantage of this similarity to write a Script which allows Scratch

Cat to draw any regular polygon we can imagine! To start, we need to know how many sides to

draw. Open the Sensing palette by clicking the word “Sensing”:

In this palette, we see this block: , which asks the user of our program a

question, and then waits for an answer. Drag it to your script area, and add it to your script

right before your block. Change the question it asks to “How many sides?” Your script

should now look like this:

Similar questions