Page 1 of 1

a E 0 Program 4: Dictionary and String Write a python code that takes a string as input and finds the frequency of each

Posted: Tue Jul 12, 2022 8:09 am
by answerhappygod
A E 0 Program 4 Dictionary And String Write A Python Code That Takes A String As Input And Finds The Frequency Of Each 1
A E 0 Program 4 Dictionary And String Write A Python Code That Takes A String As Input And Finds The Frequency Of Each 1 (104.03 KiB) Viewed 34 times
a E 0 Program 4: Dictionary and String Write a python code that takes a string as input and finds the frequency of each word in that string. Hints: Use appropriate string-handling built-in functions such as split() Sample Input/Output Input: Enter a string: Apple Mango Orange Mango Guava Guava Mango Output: frequency of Apple is : 1 frequency of Mango is : 3 frequency of Orange is : 1 frequency of Guava is : 2 Sample Input/Output Input: Enter a string: Train Bus Bus Train Taxi Aeroplane Taxi Bus Train Output: frequency of Train is : 2 frequency of Bus is : 3.