do division in python for easy testing