Avatar

McCheng

McCheng@lemmy.fmhy.ml
Joined
0 posts • 3 comments
Direct message

Gave some thoughts but couldn’t find any. I need the solutions

permalink
report
reply

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.

permalink
report
parent
reply

But then you still need to use parentheses to decode it

permalink
report
parent
reply