Posts

Showing posts from May, 2024

Module 2 - Python Fundamentals

Image
        Hello, this is my blogpost for module #2. I had some trouble getting a screenshot from my computer, so I was able to use a picture taken from my phone of my outcomes from this assignment. In all honesty this lab was confusing to understand at first but after practicing and trying time and time again (hence the screenshot saying notebook #16) I believe I was able to achieve a successful result.  My process for creating a while loop and the remove() method to remove a chosen integer from the list I created first began by choosing a number and setting my chosen integer to 4. Because the integer I chose was in the list I was able to count the number of times it appeared and printed the number of times it needed to be removed.    The next step was to remove the integer which was done by using a while loop that repeatedly kept removing my chosen integer until it was completely gone. Finally, the last step was to print the list after the integer ...

Module 1 - Flowcharting

Image
     In this week's lab I was introduced to my first experience with python. I spent time learning to understand what programming is, how it works, and why it is so important. This lab was very basic and established the foundations for creating effective code at the most fundamental level. The way this was taught was by asking participants to create a flowchart of a simple math problem. The goal was to illustrate how a flowchart can be an effective means of visualizing how to program in a clean and understandable way. Reading the "Zen of Python" also offered a set of principles that further established a guideline for coding smoothly and efficiently. Shown below is a screenshot of the flowchart I created for this lab assignment.