I have used the below program to get the maximum and minimum value in a dictionary. But, there is an type error.
I am running the below code on Jupyter notebook and getting the type error as the 'dict.keys' object is not callable. same code runs successfully on the pycharm.
Please advise me what changes should I make so that the code runs successfully on the jupyter notebook?
what is wrong in my code? Code run on JupyterNBcode run on Pycharm successfully
I have tested your program in Jupyter Notebook and the code is working just fine. Maybe you check for any typos. Hope this help