I have installed Python 3.8 in my machine (windows 10). I can see it is installed in following locations, and my Python programs are running fine, after adding these locations in PATH variable.
C:\Users\<user name>\AppData\Roaming\Python\Python38
C:\Users\<user name>\AppData\Local\Programs\Python\Python38
My questions:
To answer two of your questions:
you can find the source code in: C:\Users<User>\AppData\Local\Programs\Python\Python39-32\Lib>
you can run 'where' in WINDOWS terminal to find out which Python version installed. Also run these Python snippet to confirm:
>>> import os
>>> import sys
>>> os.path.dirname(sys.executable)
'C:\\Users\\<User>\\AppData\\Local\\Programs\\Python\\Python39-32'