Created
October 25, 2020 20:00
-
-
Save Synthetica9/eb68f602a34fd6802a1c4ee92a87d2f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
G = Graph({ | |
0: [3, 5], | |
1: [4, 5, 6], | |
2: [4, 6], | |
3: [0, 6], | |
4: [1, 2, 5], | |
5: [0, 1, 4, 6], | |
6: [1, 2, 3, 5] | |
}) | |
print(G.is_prime()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment