dia = DiGraph({'x0':{'x1':(1, -1),'y1':(1, -1),'x2':(1, -1)},'y2':{'x0':(1, -1),'x1':(1, -1)}})
diaout = dia.neighbors_out('x0');diaout
prod(p for p in diaout)
TypeError: can't multiply sequence by non-int of type 'str'\n"}︡{"done":true}︡
1 | initial version |
dia = DiGraph({'x0':{'x1':(1, -1),'y1':(1, -1),'x2':(1, -1)},'y2':{'x0':(1, -1),'x1':(1, -1)}})
diaout = dia.neighbors_out('x0');diaout
prod(p for p in diaout)
TypeError: can't multiply sequence by non-int of type 'str'\n"}︡{"done":true}︡
dia = DiGraph({'x0':{'x1':(1, -1),'y1':(1, -1),'x2':(1, -1)},'y2':{'x0':(1, -1),'x1':(1, -1)}})
diaout = dia = DiGraph({'x0':{'x1':(1, -1),'y1':(1, -1),'x2':(1, -1)},'y2':{'x0':(1, -1),'x1':(1, -1)}})
diaout = dia.neighbors_out('x0');diaout
prod(p for p in diaout)
TypeError: can't multiply sequence by non-int of type 'str'\n"}︡{"done":true}︡
dia = DiGraph({'x0':{'x1':(1, -1),'y1':(1, -1),'x2':(1, -1)},'y2':{'x0':(1, -1),'x1':(1, -1)}})
diaout = dia.neighbors_out('x0');diaout
prod(p for p in diaout)
TypeError: can't multiply sequence by non-int of type 'str'\n"}︡{"done":true}︡
nonint error types:
dia = DiGraph({'x0':{'x1':(1, -1),'y1':(1, -1),'x2':(1, -1)},'y2':{'x0':(1, -1),'x1':(1, -1)}})-1)}})
diaout = dia.neighbors_out('x0');diaout
prod(p for p in diaout)
TypeError: can't multiply sequence by non-int of type 'str'\n"}︡{"done":true}︡