Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
case/switch statement?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="D H, post: 1824136"] Since you and Steve Holden agree that a case statement is useful, why don't you propose it for python, or add it to the wiki page for Python 3000. Here is the syntax the developers of your favorite language boo ( [URL]http://boo.codehaus.org/[/URL] ) are using: given x: when 1: ... when 2: ... otherwise: ... must-stop-hyphenating-ly y'rs [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
case/switch statement?
Top