GIS4102 - Module 2 - Python Fundamentals
For this assignment, the fundamentals of programming and using strings, string variables to create lines of code, and fix errors in already written code was learned. Using ArcGIS Notebook was how we would test our code as it we would be able to break down each line of code we were writing and see what specific problems were within it. We were tasked to understand lists and create loops. The ultimate goal of this assignment was to create a random number generator, create a while statement to select a specific integer, and to use the remove() method to remove said integer from the lot of random numbers.
The image is an example of what was accomplished within this module. The first line being to understand lists and how to find a specific name in a list. After, lines 2-16 were from fixing the previously made code. And lastly, aforementioned the random number generator with an integer removed from the list.

Comments
Post a Comment