DEV Community

Discussion on: 30 Days of Python 👨‍💻 - Day 6 - Loops II & Functions

Collapse
 
mowat27 profile image
Adrian Mowat • Edited

You should use len(email_list) instead of _ _ len() _ _ (excuse the spaces, the text goes bold if I leave them out). The _ _ method is really an internal method len() looks for on a class. There are lots of them, actually check out the special methods section the docs for info.

Collapse
 
matteodellirocioli profile image
MatteoDelliRocioli

Thanks for the hint! 😄