count alphabets and digits from a string in python

visit shbcf.ru