Chapter Three Flow Control Exercises

by Colin Nickels

18 Jan 2016

Here's my first exercise:

Here's the second one:

Here's the final one:

I bet there is a more efficient way of doing this last one. I ended up using both a “try” and an “if”. I think that if I knew a little bit more about data types and how they are evaluated in Python I could have just used one or the other.

Is a first year SILS student with a focus on users, technology, and libraries Find Colin Nickels on Twitter, Github, and on the web.