- 1

What is math case in python

Need explanation & example program

2nd Nov 2021, 9:38 AM
S GOUSE BASHA
S GOUSE BASHA - avatar
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
2nd Nov 2021, 9:45 AM
Rik Wittkopp
Rik Wittkopp - avatar
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/
14th Nov 2023, 1:46 AM
Rain
Rain - avatar