+ 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.

11th Apr 2021, 8:02 AM
Emre Sarıcan
Emre Sarıcan - avatar
2 Antworten
+ 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
11th Apr 2021, 8:23 AM
CHANDAN ROY
CHANDAN ROY - avatar
0
I’ll look it. This is in python data structures course.
11th Apr 2021, 9:12 AM
Emre Sarıcan
Emre Sarıcan - avatar