Lesson 2 exercises

Exercise 2.1

What are the advantages of making a package with the proper architecture and using pip/setuputils to install it versus just having a .py file in your working directory?

Exercise 2.2

What is the difference between a key and a value in a dictionary?

Exercise 2.3

Can a dictionary have duplicate keys? Can it have duplicate values?

Exercise 2.4

What bad things could happen accidentally if you open files without using context management?