[Tutor] set as iterable

Manprit Singh manpritsinghece at gmail.com
Mon Sep 28 09:29:33 EDT 2020


Dear sir ,

As you know there are lots of built in  functions in python standard
library that accept an iterable as an argument. Some of the functions are:
all , any, filter, map, max, min, sum, list, tuple, and so on, i will not
include functions like enumerate since set is an unordered collection . Can
I pass a set as an argument to these functions in place of an iterable ?

Regards
Manprit Singh


More information about the Tutor mailing list