Python HW3