Computer Network By Geeksforgeeks Python Dictionary Update