Programming In Python - #python #program to calculate #phone digits a=input("Enter phone number:- ") list=[] for i in range(0,10): res=a.count(str(i),0,10) list.append(str(i) + " occur "+ str(res)+" times") for i in range(0,10): print(list[i]) #
![Python Program that input an integer in range 0-999 & print if the integer entered is 1/2/3 digit. - YouTube Python Program that input an integer in range 0-999 & print if the integer entered is 1/2/3 digit. - YouTube](https://i.ytimg.com/vi/C8Gbc4y9CM8/maxresdefault.jpg)
Python Program that input an integer in range 0-999 & print if the integer entered is 1/2/3 digit. - YouTube
![Is there a way to write this (python) so if a letter was input it wouldn't crash the program? It works if an out of range number and then a letter is Is there a way to write this (python) so if a letter was input it wouldn't crash the program? It works if an out of range number and then a letter is](https://i.redd.it/m2ilksdi64071.jpg)