Utilizing pep8 guidelines to improve two existing algorithm pertaining to two Monte Carlo Simulations. Try to convert variable names to more readable formats (eg. x to poke_hand, y to rounds, etc). Add in comments to guide the next reader of the code. Condense codes that are unnecessarily long to shorter format. If you notice any part of the code that is repeated, place that in a function and call the function instead of repeating the same block of code in multiple places. Ultimately, this project is to help improve the readability of the code, none of the above is a strict criteria but a guideline to follow.
codes for improvement and the relevant infos can be accessed in the following link: https://1drv.ms/u/s!AiezjuZz42bo63ke1Kvb5gGre_Lt?e=A2oS74
The post Clean Code Improvement Project appeared first on ACED ESSAYS.