Rectify the statement: 1. Count() is used to find the total of the selected range.
PLS HELP ME FASTTT
Answers
Answered by
3
[The answer is as per the view that the question is referring to the count() function present in Python.]
Given statement:
is used to find the total of the selected range.
Corrected statement:
is used to find the number of occurrences of the specified argument within the data.
For example,
Here, we're trying to find the number of times 's' occurs in the string 'Vanessa' that has been assigned to n. It returns 2 as 's' occurs twice in 'Vanessa'.
Another example,
We're trying to check how many times the element 12 occurs in the list l. It returns 3 as 12 occurs thrice in l.
Equestriadash:
Thanks for the Brainliest! ^_^"
Similar questions