3 ms·
never seen {*()} but I guess it is equivalent to set() I've noticed this in python in another place f"{var}" is the same as
by alanwreath 3y ago
never seen
{*()}
but I guess it is equivalent to
set()
I've noticed this in python in another place
f"{var}"
is the same as
str(var)
there was some other place I can't recall also noticing that (at least my perception understands that) Python is trying to kill my code golf tendencies.
That said, it's probably just my own superstition and of course it doesn't remove my premature optimization tendencies...