Merge pull request #445 from jibrilt/patch-1

Update python.md
This commit is contained in:
Fechin authored and GitHub committed 2023-07-31 11:38:37 +08:00
commit be02431acb
1 file changed
+13
+13
View File
@@ -815,6 +815,19 @@ else:
print("Value is True")
```
### match case
```python
x = 1
match x:
case 0:
print("zero")
case 1:
print("one")
case _:
print("multiple")
```