Set comprehension
A Python expression that creates a set, using the syntax
{EXPRESSION for ITEM in ITERABLE}
{EXPRESSION for ITEM in ITERABLE if CONDITION}
similar to set-builder notation.
A Python expression that creates a set, using the syntax
{EXPRESSION for ITEM in ITERABLE}
{EXPRESSION for ITEM in ITERABLE if CONDITION}
similar to set-builder notation.