Friday, June 6, 2014

GIS4102 Module 3: Python Fundamentals Part 1

After last week's experience with scripting, this lab assignment was a breeze. Practicing within the exercise part of the module helped prepare for the assignment which involved starting with a string of my full name, splitting it into a list of names prior to printing the last name, and then determining the length of the last name. Mine is 13 ~ did anyone top that? Finally the length of the last name was multiplied by three. Trying to remember the functions and methods took some effort, but the book and instructions provided handy reference. I was most nervous about making sure that my name was spelled right, since it would be out there for all to see:

Results: Length of Last Name Times 3

The scripting was so fascinating that I ended up trying it out with the names of several friends and family members. I can tell that this is going to be a lot of fun... 

No comments:

Post a Comment