5 ms·
And still no expressive switch/case statement, breaking out of loops and ending scripts early (for explorative programming).
by andi999 5y ago
And still no expressive switch/case statement, breaking out of loops and ending scripts early (for explorative programming).
- jstx1 5y ago> And still no expressive switch/case statement There's match/case in 3.10 - https://www.python.org/dev/peps/pep-0636/ https://www.python.org/dev/peps/pep-0636/
- gabagool 5y ago>no expressive switch/case statement match/case (not a drop in switch statement) >breaking out of loops break >ending scripts early (for explorative programming) exit() or sys.exit()