Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. शंतनू (shantanoo@gnusocial.in)'s status on Sunday, 04-Apr-2021 02:37:04 EDT शंतनू शंतनू
    What Is the Switch-Case Equivalent in Python? - https://pakstech.com/blog/python-switch-case/
    In conversation Sunday, 04-Apr-2021 02:37:04 EDT from gnusocial.in permalink

    Attachments

    1. Invalid filename.
      What is the Switch-Case Equivalent in Python?
      Historically, the Python syntax hasn't had a switch-case statement. In 2006 Guido van Rossum, the original author of Python, proposed different alternatives for the switch-case syntax in PEP 3103 but they all seemed to have some problems and the idea didn't gain enough popular support. The proposal was therefore rejected. Python version 3.10 changes this.
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.