python and ruby(WIP) answers