0

Please help with character search !!!

Text and a single character are specified. How to develop a program that finds and prints all the words that include a given character the most times??? Thank you! #I'm sorry, I'm new to python..

25th Sep 2020, 1:48 AM
PR PRGR
PR PRGR - avatar
5 Answers
+ 2
Check this code i made for you: https://code.sololearn.com/c4hzTiYpwtA8/#py There's no need to be sorry, we are all learning and we all help each other improve. wish you the best :))
26th Sep 2020, 12:05 AM
Carlos
Carlos - avatar
+ 1
Use regex or string methods.
25th Sep 2020, 5:52 AM
Divya Mohan
Divya Mohan - avatar
+ 1
Divya Mohan thank you)
25th Sep 2020, 10:25 AM
PR PRGR
PR PRGR - avatar
+ 1
Carlos Thank you very very much for helping me with this code!!! and for moral support)) Best wishes to you too!)
26th Sep 2020, 9:46 PM
PR PRGR
PR PRGR - avatar
0
If there are no matching words, then all words are displayed. How to make in this case empty output or output of the words "There are no words to output"? Carlos can you help me please?
16th Oct 2020, 5:45 PM
PR PRGR
PR PRGR - avatar