This week’s module introduced me to the basics of Python environments, how to set up my file structure, and how to visualize a coding process using a flowchart. One of the main tasks was converting 3 radians into degrees using the formula:
degrees = radians × 180 ÷ π
I created a flowchart to represent that process step-by-step. Here’s the PNG I exported showing each stage of the conversion, from the start of the program to printing the final value:
Zen of Python Reflection
After reading the Zen of Python, one line that really stood out to me was “Readability counts.” It reminded me that writing clean, understandable code is just as important as making it work. Clear code makes it easier to troubleshoot, update, and collaborate with others later on. Even though I’m just getting started, it’s already helped me slow down and think more about structure and clarity in my scripts.
Process Summary Notes
Creating the flowchart gave me a new way to understand how code flows from start to finish. It also helped me visualize how even a simple formula can be broken into separate steps. I used IDLE to run Python and organize my files into the right folders. I added a row to my process summary chart to track what I placed in my Results folder, like my exported PNG and Word doc, so everything stays organized and easy to reference later.
Comments
Post a Comment