Program not submitting "'NoneType' object is not subscriptable"

There was a problem compiling the code from your notebook. Details:
‘NoneType’ object is not subscriptable

Hi @ramadurai_pandian

Welcome to the community.

Could you please share a screenshot of this error.

Best regards
elirod

In summary, the NoneType object is not subscriptable error is a typical Python error that happens when we attempt to access an index or a key of a variable that is of the NoneType data type. This error usually occurs when a method or a function returns None rather than the desired value