'Identify weak ties using networkx and show the result in a list

Based on this question and answer, Finding weak ties using networkx , I would like to ask how to get the list of weak ties in a network. I am using the Karate’s club as dataset. After loading the dataset, using networkx I create the graph and I use the code mentioned in that question. However I do not know how to create a list of the weak ties.

Any help on this would be great.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source