But then you still need to use parentheses to decode it
Very interesting solutions. I was in the direction of using dunder methods but could not figure out how. Haven’t heard of the __class_getitem__. The second solution is especially inspiring.
__class_getitem__
Gave some thoughts but couldn’t find any. I need the solutions