0

Does Sololearn haves match statement?

Hello, so, I have trying to do a inventory code in Python, and in VSCode (original IDE that I used to do this code), I can did it and I wanted to pass it to Sololearn, but I don't know if Python version used in Sololearn haves match. Can someone help me?

2nd Nov 2021, 12:45 PM
Katdotbrush
Katdotbrush - avatar
2 Answers
+ 2
Hi cat! The match statement is certainly a cool new feature in the Python programming language and it's available for python version 3.10 and onwards. But, Sololearn uses 3.8.11 version which doesn't have this feature. So, I think your code won't work here.
2nd Nov 2021, 1:36 PM
Python Learner
Python Learner - avatar
2nd Nov 2021, 10:58 PM
Katdotbrush
Katdotbrush - avatar