Module 2: Python Fundamentals
The purpose of this lab was to create a Python script by manipulating string variables using a list, creating loops and conditional statements, and iterating variables within loops to control workflows. The final Python script had to be run using Spyder. The tasks performed by the script include printing my last name, running a dice game (the code was provided and debugged), populating and printing a list with 20 random integers from 0 to 10, and removing an integer (in my case 2) from the list and reprinting it. One run of my final script is above. I found it easiest to test individual lines of code and steps of the assignment in new, separate files in order to get them to run properly. There was a lot of trial and error for me in this assignment and I found creating the while loops the most troublesome. The first two steps of the assignment - printing my last name and debugging code - were the easiest. In order to print my name, I assigned my full name to a string, split the st...