Definition Return with the position of tuple item in tuple. Syntax tuple.count(x)->integer Parameters x=position of item in the tuple if no value raise value error. Example The return is:
str.partition==tuple The str.partition converted the string into tuple.
count(str.rpartition()) The returns are following:
|