Set 143 Practical Question

⭐ Q45. Sentence में हर letter की frequency निकालिए

Example Code (Read Only):


s = input("Enter sentence: ")
freq = {}
freq[ch] = freq.get(ch, 0)+1

Python Online Editor