Update The Dictionary In Python Geeksforgeeks