+ 1
Python Data structures
Hi community, I think there is a bug in this quiz. The test says the following: 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 inputs that came in on the first test were : a) “This is some text”, b) “s” The first test answer is: 17 This is incorrect, it’s 21. Not sure who to tell here to fix it.
3 Respuestas
+ 3
The blanks spaces count to the length of the text.
+ 3
Ah ok. I thought it wanted to compare against the lenght of the text only. Thank you!
0
Hello