2 Matching Annotations
- Nov 2021
-
runestone.academy runestone.academy
-
Write a program to draw this. Assume the innermost square is 20 units per side, and each successive square is 20 units bigger, per side, than the one inside it.
can anybody gives some hints on how to increment the 20 units for each successive square? i tried several times, but all failed
-
-
runestone.academy runestone.academy
-
This ability to conditionally execute our main function can be extremely useful when we are writing code that will potentially be used by others. It allows us to include functionality that the user of the code will not need, most often as part of a testing process to be sure that the functions are working correctly.
got the idea of how it can be used, but still don't understand the context of this use case, somebody can explain a bit?
-