Module 2 Lab
In this lab we learned how to insert written script into ArcGIS Pro notebook and then find bugs and fix them This was different than anything I have done before, so it took me a while to differentiate a spot where an int needed to be a string. Once I finally figured this out, the rest felt easy. We then had to write our own code to take the written script of the dice game and make it play out and then remove a specified integer from it. A lot of the language, especially complex statements like having the program take the count of the # of times the integer appears and remove them from the list. Some of the ways you put these statements together still feels different, but I am getting the hang of it. I tried to make my script of the game sound a bit more interactive like a video game, so I made it say "Removing..." as if it was actively working on doing this task.
Comments
Post a Comment