Description: Raspberry Pi first Program and Basic commands- This tutorial is a beginners level tutorial which explains how to write…