Rather than following the instructions here:
https://support.microsoft.com/gl-es/help/13443/windows-which-version-am-i-running, it is a lot easier just to do
Win+R to bring up a run dialog box, and run
winver.
I can confirm that this works both for windows 10 and windows 7.