
March 17, 2022
4:13 a.m.
14.03.22 15:07, Joao S. O. Bueno пише:
- but what about keeping what exists and adding {,} for an empty set? (it is not that unlike the one-element tuple, which already exists)
If you want to create an empty set without using any identifier, use {*()}. The advantage is that it works in old Python versions.