The reason it’s happening is because python3.11 is NOT the name of the package.
Try using apt search python3 —names-only | less
and that will list ALL Python3 packages in the parrot repos.
Scroll through the list of packages and you might see the correct package name for the appropriate version of Python. I haven’t really kept track of which version of Python 3 we’re currently on. But if anything after 3.11 is installed, there’s not really much point in installing an earlier version.
I would also imagine that python3 will already be installed by default anyway. Most Linux distributions have finally switched to Python 3 from Python 2. So Python 3 should be the default installed version of Python.