Module 2- Python Fundamentals
This week began to dive into the syntax of common python commands. Since python shell cannot edit multiple lines of script, scripts were edited and run on Python IDLE and ArcGIS Notebook to complete the 4 assigned steps below: Print your last name from a created list Fix errors within a prewritten code set Populate an empty list with 20 random integers Remove an 'unlucky' number from the previously created list A full output results screenshot for each of the final scripts, run using ArcGIS Pro Notebook, is included below: I found this module to be challenging, as learning scripting commands is like learning a new language. Some of the key methods used in this module were the append, remove, split methods which usually are formatted in the <object>.<method>(<arguments>) format, or the object is listed first, followed by a “.” and the method name and the arguments in parentheses. Also, functions like len() and range() were used, which are in <function>(...