[Tutor] Confusion about definition of proper subset in python set
T. M.
tcm2118 at columbia.edu
Thu Oct 29 23:02:39 EDT 2020
Same
On Thursday, October 29, 2020, Manprit Singh <manpritsinghece at gmail.com>
wrote:
> Dear sir ,
>
> Consider explanation given about set < other in python official
> documentation
>
> Test whether the set is a proper subset of *other*, that is, set <= other
> and set != other.
>
> This confuses me actually.
>
> set <= other and set != other , how it is possible at same time ?
>
> As far as i know, if S is a set and ss is its proper subset, then ss is
> strictly contained in S and necessarily excludes at least one member of S.
>
> Need some light on it.
>
> Regards
> Manprit Singh
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
--
1(505)701-9323
More information about the Tutor
mailing list