GIS Programming: Python Fundamentals

This week's lab provided a solid introduction to the fundamentals of programming in Python, working within an IDE, and setting up file paths to manage data and outputs for the remainder of the course. In Step 1 of the lab, we learned how to work with strings and lists by splitting our full name into a list of strings. We then used indexing to print our last name, the last item in the list. In Step 2, we learned some of the basics of debugging by fixing two errors in a prewritten dice game program. Steps 3 and 4 had us create a list of 20 random numbers and then remove a chosen integer from the list. 

The screenshot below shows my outputs for these steps. 



Comments

Popular posts from this blog

Isarithmic Mapping: Annual Precipitation in Washington State

Final Project: Bobwhite-Manatee Transmission Line Analysis

Development Suitability Analysis