+ 4
What is the mistake here?
https://code.sololearn.com/cH7cC4NtwM48/?ref=app Can anyone help me?
7 Answers
+ 3
Condition : if b in a : either true or false in all iteration of the loop. So answer 0 or 100%.
It should be if i in b : is not it?
+ 3
Jayakrishna🇮🇳 thank you...I understood now...
+ 2
Jayakrishna🇮🇳 it looks more compact thank you so much
+ 1
You're welcome..
edit:
instead of loop you can use count function as
len_c = a.count(b) # len_c/len(a) *100
+ 1
The only mistake I see is my mother's decision to have me
0
How to make calculator in java??
0
There is no mistake here. The program is absolutely correct
Hot today
What's wrong? :(
1 Votes
Why won't my image display
0 Votes
I have made a calculator in which my % (Percentage) not work correctly for 100%50 or 100%20.
2 Votes
How the answer is 50?
0 Votes
Number of Ones ( C++ ) question!
1 Votes