Module 2 - Python Fundamentals
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 has been taken out.
I believe that after experiencing the fundamentals I am more prepared for what is further to come in this course.

Comments
Post a Comment