Level exam: software versions that sort right

Your task Ticket PY-440, for the release manager. As text, "1.10.0" sorts before "1.9.2", which is wrong. Write a class Version with a classmethod parse(text) that reads text like "1.10.0", comparison with == and < (and so sorted works) by the numbers from left to right, and str(version) that gives back the text. In the code box, write the class, then press Run my code.

Getting the editor ready