A new macOS Monterey install shows
user@mbp16 ~ % python --version
Python 2.7.18
user@mbp16 ~ % python3 --version
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.