go to your start tab and search up excel in your start tab. Or go to your programs, and search up excel to locate the file location.
Sometimes it can be mixed up with the onedrive excel, so locate an excel version, and open it. If it looks like a browser tab at the top, it is the excel version, so locate the only other version to find the microsoft version.
Explanation: In the lists, indexation starts from 0, because of that in if statement we compare item[0] which is 'male' and 'male', and then males is itterated within for loop.