[docs] next() and count() method don't work.

Anurag Sharma anurag05081996 at gmail.com
Tue Mar 12 04:30:42 EDT 2019


Hon'able Python Team,
I am learning python, and I was trying to build an algorithm that could
count the recurrence of the items in a set at run-time, that is, counting
the the number of occurrence in the set defined by the user, I tried using
multiple next() and count() method. As next() method works only within the
code, that is, it doesn't accept external values outside the loop, I tried
using while loop, but still didn't get the desired output. I am using
Python 3.7.2 and I am sending you screenshots as an attachment. Kindly look
into the same and let me know.
Thank You. Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20190312/bc74a710/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot (5).png
Type: image/png
Size: 92230 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/docs/attachments/20190312/bc74a710/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot (6).png
Type: image/png
Size: 92561 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/docs/attachments/20190312/bc74a710/attachment-0003.png>


More information about the docs mailing list