in py for 031 in 1s