Sobes.tech
Junior — Senior

Working with sets containing nested collections

livecode

Task condition

Determine whether an error will occur when executing the expressions below, and explain why commas are used in the second example.

s = set([[1], [2]])
s2 = set([(1,), (2,)])