All my previous exercises were executed without any errors and the code is pretty much the same as the one provided in the hint. Any help to resolve this is greatly appreciated.
I suggest you should check all your spelling. I got the same error but after trying everything without success, I checked all spellings of variables and discovered that I wrote, “max_info_gaing” instead of “max_info_gain”.