skip at pobox.com wrote: > switch raw_input("enter a, b or c: "): > case 'a': > print 'yay! an a!' > case 'b': > print 'yay! a b!' > case 'c': > print 'yay! a c!' > else: > print 'hey dummy! I said a, b or c!' Before accepting this, we could do with some debate about the syntax. It's not a priori clear that C-style switch/case is the best thing to adopt. -- Greg
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4