Wrote an article
https://itsmycode.com/how-to-check-and-print-python-version/