Create Sanjay_2.9.py

This is the Code file for the problem