learning-zone / python-basics

Python Basics ( v3.x )
https://learning-zone.github.io/python-basics/
1.46k stars 426 forks source link

Structural pattern matching added starting from Python 3.10 #13

Open hfmuzb opened 9 months ago

hfmuzb commented 9 months ago

Starting 3.10 version, structural pattern matching is added to Python: https://docs.python.org/3/whatsnew/3.10.html#pep-634-structural-pattern-matching

answer to the following question needs to be updated: https://github.com/learning-zone/python-basics#q-does-python-have-a-switch-case-statement

PipeKnight commented 8 months ago

Yea, man, this repo is totally outdated, I suggest everyone not to use it. Asking something regarding Python 2 in 2023 is madness. Okay, maybe you have some legacy project, and you need someone who really knows all these things, but for a regular Python job this is absolute nonsense!

learning-zone commented 8 months ago

Yea, man, this repo is totally outdated, I suggest everyone not to use it. Asking something regarding Python 2 in 2023 is madness. Okay, maybe you have some legacy project, and you need someone who really knows all these things, but for a regular Python job this is absolute nonsense!

Can you raise a PR for this?

TopCoder2K commented 3 months ago

@learning-zone, README.md hasn't been updated... Kindly remind you about this issue.

learning-zone commented 3 months ago

Can you raise a PR for this change?