This post helps you to identify the pins in raspberry pi.
In an earlier version of Raspberry Pi, the pin details are clearly specified on the board itself but it is not there on the latest version of Raspberry Pi.
To get the pin details you can type the below command on the console.
Running the above code will give the details as like below image.
I will be posting IoT related scripts and how Raspberry Pi can be integrated with Azure and Power BI.