python all to accepted comparison added