Posts

Showing posts with the label Python Fundamentals

GIS5103 Module 2: Python Fundamentals

Image
Putting the "fun" in fundamentals -- it's Module 2: Python Fundamentals! This week, we were given the rundown, a Python bootcamp, so to speak. We were taught everything from values and variables, lists, tuples, indexes, and loops (for and while) to Booleans and so on. Honestly, I often get stuck on the fundamentals when it comes to understanding and working with Python. I tend to get a fair grasp of it, but I find myself frozen trying to make things from a blank slate. Module 2, however, had a great balance between getting more comfortable working with an existing framework and making scripts from scratch. Overall, I feel like my foundational understanding of Python has been strengthened, and so has my confidence. Module 2's lab was broken up into 4 parts. Part 1 covered lists and indexing. Part 2 covered troubleshooting and correcting 2 errors in a dice game randomizer. Part 3 required a loop to generate 20 random numbers between 0 to 10. And Part 4 required another ...