It's a game called "tic tac toe" written in python language.
Followed this youtube tutorial but modified part of it according to my needs- https://youtu.be/BHh654_7Cmw
I've added necessary comments as much as possible to make it easy to understand. Feel free to knock me regarding any question