Module One: Python Fundamentals
For this module, we were tasked with creating and learning about the fundamentals of python scripting. We needed to successfully complete a dice games, where the ending script portrayed the different roles of each player, the named unlucky number, and its removal. We learned how to implement different methods such as splitting and counting as well as how to formulate a proper code with multiple phrases and functions like when it came to removing the unlucky number and using the while loop to allow for the desired outcome to occur. We also learned how to get into the spyder software by a sort of shortcut.
This lab was somewhat challenging because it implemented a lot of specific and technical language, that if not entered correctly, will give an error and you're back to square one. I ran more into issues of invalid syntax and not using the right quotations or parentheses at the correct moment. The easiest method I learned was the coding for splitting and what I need to look for when coding in the future. Below is a screenshot of my results from coding with the different methods and functions.
Comments
Post a Comment