Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Python Switch Statement

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?

Name: Anonymous 2010-11-23 2:09

>>26
BEST PRACTICES

def main():
    wow()
def wow():
    print("wow")

if __name__ == '__main__':
    main()

Name: Anonymous 2010-11-23 2:11

>>33

if __name__ == '__main__':
    main()

def main():
    wow()
def wow():
    print("wow")

Name: Anonymous 2010-11-23 6:30

>>33,34
if __name__ == '__main__':
EXPERT FIOC PROGRAMMERThis is why I use Perl

Name: __Anonymous__ 2010-11-23 7:03

>>33-35
U MENA if __name__ == """__main__""":

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List