python combinations with replacement

join shbcf.ru