i am new in python so using this code i got this error:
Traceback (most recent call last):
File "C:/Users/Nano/PycharmProjects/graph/graph.py", line 76, in
G = CreateGraph()
File "C:/Users/Nano/PycharmProjects/graph/graph.py", line 58, in CreateGraph
if wtMatrix[i][j] > 0 :
TypeError: 'map' object is not subscriptable
i am new in python so using this code i got this error: Traceback (most recent call last): File "C:/Users/Nano/PycharmProjects/graph/graph.py", line 76, in
G = CreateGraph()
File "C:/Users/Nano /PycharmProjects/graph/graph.py", line 58, in CreateGraph
if wtMatrix[i][j] > 0 :
TypeError: 'map' object is not subscriptable