2 ms·
Partly related: Simulating the C switch statement in Python: https://jugad2.blogspot.in/2016/12/simulating-c-switch-statement-in-python.html https://jugad2.bl
by vram22 10y ago
Partly related:
Simulating the C switch statement in Python:
https://jugad2.blogspot.in/2016/12/simulating-c-switch-statement-in-python.html https://jugad2.blogspot.in/2016/12/simulating-c-switch-state...
Not a proper simulation of C's switch, has limitations mentioned in the post, just something I whipped up for fun.