homeworks for AY250 Python class