Re:Show HN: Refurb – A tool for refurbishing and modernizing...
by yunohn on Wednesday September 28, 2022 @03:17AM
(#33005106)
Sets are more useful when you want to dedupe unknown data. Defining a set with constants to use immediately in a for loop is not very helpful compared to a tuple or a list.
Also, you can make anything iterable in python if you implement __iter__.
Also, you can make anything iterable in python if you implement __iter__.