python dealing with none

visit shbcf.ru