Gfg Stack Implementation Using Python