- 1
What is math case in python
Need explanation & example program
2 ответов
+ 3
Homework?
The question sounds like it came straight out of a text book, which indicates the answer may be found in the previous lesson.
Good luck Bad Boy
0
S GOUSE BASHA ,
I think you're asking about match case, not math case. Right?
Python 3.10 has the match case syntax.
Sololearn uses Python 3.9.16 though.
You can experiment with match case on other playgrounds with later Python versions if you search for them.
Here's the official tutorial on the match case syntax.
https://peps.python.org/pep-0636/