Python install version does not exist

command "winget install Python.Python.3 --version 3.10.2150.0"
returns:
No package found matching input criteria.

Update the command has been deprecated, the current working command is:
"winget install --id=Python.Python.3.10 -e"

Yeah the commands on Windows tend to change. I maintain the following installation guide for my students:

winget install -e --id Python.Python.<version> is the correct command. You can see the available versions with winget search --id Python.Python. For more information, see for example here.