Practice exercises from Core Python Applications Programming, 3rd Edition