Module 3- Python Fundamentals Part 2
Continuing with fundamentals, we delved into learning to use conditional statements to perform different actions in differing situations, for and while loops to repeat processes, and also get our hands on practicing how to identify and fix errors in Python.
For this lab, I completed an unfinished Python script for a dice game, corrected errors in it, then added two new blocks of code requiring to print statements for certain conditions and remove a number from a randomly generated number list. Below is the final outcome.
For this lab, I completed an unfinished Python script for a dice game, corrected errors in it, then added two new blocks of code requiring to print statements for certain conditions and remove a number from a randomly generated number list. Below is the final outcome.
Comments
Post a Comment