3 Commits

Author SHA1 Message Date
jwberent
8dfa384f43 I already submitted the changes I made in checkpoint 1 so please let me know if I need to rewrite the changes I made in checkpoint 1 since I am saving it again. I will only be talking about checkpoint 2 now. I removed the pass in the triangle and rectangle functions and added the necessary code by using right and forward in the turtle library to make triangles and rectangles appear.
Checkpoint 2:
-A function is like a variable in that it allows you to save code that will be ran everytime you call it.
-Functions can break down big problems by allowing you to run the same thing over and over by just calling it.  An example would be coding a house.  This chould be accomplished by making a door function, triangle function, and rectangle function which could be used for the walls and smaller rectangles that could be used for the windows.
2025-09-05 14:57:41 -04:00
jwberent
f0f2557b00 I changed the greeting to allow the user to say their name. It will then greet them by their name. I also allowed the code to find the area of a circle when the user gives the radius.
Checkpoint 1:
The difference between a value and a name is that a value is the thing that it is and a name refers to seomthing else.  Values can be floats, ints, strings, or booleans.  In real life you would call someone by their name, not by describing them so you would call someone by their name, not value.  Variables are important in coding because they allow you to not have to repeat lines of code over and over again.  Once you make a variable you can call it multiple times and it will remember the code associated with it.
2025-09-05 14:34:08 -04:00
53073b538d Initial commit 2025-08-27 17:02:31 +00:00