Hack Forums
[Python] Make a switch case condition challenge - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Python] Make a switch case condition challenge (/showthread.php?tid=5944386)



Make a switch case condition challenge - datguy.dev - Feb 23, 2019

Greetings,
    I don't know why, but randomly I created a simple switch case condition in Python. Just playing around I guess. For the sake of fun and curiosity, I would like to challenge you to develop your own switch case condition in Python without reading the rest of this thread or any online resources. Just do whatever comes natural and post back here to see how all of our interpretations compare.


Make sure to use (spoiler) your code (/spoiler) tags to hide your code. Use brackets [ ], not parenthesis. I don't want this to be discouraging for new comers to Python. So if we could all try to keep it constructive that would be appreciated.








Ok people, this unlisted pastebin has been viewed 17 times. This thread has 24 views as of 2/25. Come one people! DON'T LOOK AT IT! CODE SOMETHING! 🤣
Spoiler (Click to View)