num = input("Pls Enter your Nikname (alphabetnumbric)</>: "); count=0 for n in num : if n>="0" and n<="9": count+=1 print ("number of digit in text :",count)