divided ruby and python