Feb-03-2020, 06:10 PM
a list has __iter__ but not __next__. so it looks like __next__ is the thing to check. i was thinking of checking for __len__. iterators don't have __len__.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.