Winter Bootcamp in ML and IoT in Jaipur
 Course content (For Bootcamp & Winter Training):- Machine Learning (ML) || Internet of Things (IoT) || Register for winter bootcamp
0 like 0 dislike
in Tutorial & Interview questions by (3.2k points)

Sample string: 'thequickbrownfoxjumpsoverthelazydog'

occurrence of t word: 2

 occurrence of h word: 2 

occurrence of e word: 3

 occurrence of q word: 1 

occurrence of u word: 2 

occurrence of i word: 1 

occurrence of c word: 1 

occurrence of k word: 1 

occurrence of b word: 1

 occurrence of r word: 2 

occurrence of o word: 4

 occurrence of w word: 1

 occurrence of n word: 1 

occurrence of f word: 1

 occurrence of x word: 1 

occurrence of j word: 1 

occurrence of m word: 1 

occurrence of p word: 1 

occurrence of s word: 1 

occurrence of v word: 1 

occurrence of l word: 1 

occurrence of a word: 1 

occurrence of z word: 1 

occurrence of y word: 1 

occurrence of d word: 1 

occurrence of g word: 1

1 Answer

0 like 0 dislike
by (3.2k points)
 
Best answer
s=input()

f={}

for i in s:

    if i in f:

        f[i]+=1

    else:

        f[i]=1

print(f)

Winter 10 Days bootcamp classes(7 HRS Daily) will start from 5 & 20 December 2019 in:
1) Internet of things(IoT) Using RASPBERRY-PI
2) Machine Learning (ML)

70% OFF| Fee-INR 3,000/-

Limited seats!! Hurry up!!

[[ CALL - 07976731765 ]]

Some Study Resources are compiled from original Stack Overflow Documentation, the content is developed by the different experts at Stack Overflow. Study resources are released under Creative Commons BY-SA. Images may be copyright of their respective owners. This website is for self-learning and not affiliated with Stack Overflow. All trademarks and registered trademarks are the property of their respective company owners. Please send feedback and corrections to chandwaglobal@gmail.com.

...