Preprocess The Data Python Tutorial Gfg Problem