4-7 advanced python exercises