You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
num=input("enter a multi-digit number:")
freq={}
for digit in num:
if digit in freq:
freq[digit]+=1
else:
freq[digit]=1
print("Digit Frequency:")
for digit in freq:
print(digit,"occurs",freq[digit],"times")