+ 1
How can I write this ?? in python
You are making a program to analyze text. Take the text as the first input and a letter as the second input, and output the frequency of that letter in the text as a whole percentage. Sample Input: hello l Sample Output: 40 The letter l appears 2 times in the text hello, which has 5 letters. So, the frequency would be (2/5)*100 = 40.
2 odpowiedzi
+ 4
Have a look at this. while there are multiple ways to do this, look at this solution.
can you please tell me which course has this problem??
https://code.sololearn.com/ca2A1A10a106/?ref=app
0
I’ll look it. This is in python data structures course.