Name: Anonymous 2010-11-20 17:24
I'm just learning python and realize that there's no switch-case in python. This really kills my mood to learning python. What do you think of this python programmers?
{
1: lambda: dicks(),
2: lambda: balls(2),
3: lambda: hax('anus'),
}.get(switchval, lambda: None)()