Is anyone able to help me understand bellow exercises ? i need to implement Graph Class. The example of usage
g = Graf(set([1,2,3]), set([(1,2), (2,3), (3,1)]))
for podgraf in g:
print podgraf
and the answer should be
I'm looking on this exercise over 2 hours and i do not know how even start it. I am aware of iter and next but i really do not know how to start or where i could find usefull information. I would be verry appreciated for Hint or explanation how could look on this problem.