Javairia's Chapter 2 Exercises

by Javairia Warrich

18 Jan 2016

Exercise 2:

Exercise 3:

Exercise 5:

Reflection: These three programs allowed me to apply the basic concepts covered in Chapter 2. One thing that tripped me up when doing Exercise 3 was including the type for each variable. When I didn’t include the int() it gave me an error. Specifying the type was the only thing that confused me. A thing that I still have a question about is how to print out string and integers at the same time.

Javairia is a Junior majoring in Information Science at UNC Chapel Hill. Her hobbies include watching sports (Go Panthers!) and reading. Find Javairia Warrich on Twitter, Github, and on the web.