Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import cutie
- sampleDict = {
- "a": {"1": {"d": 9, "e": 8}, "2": {"f": 7, "g": 6}, "3": {"h": 5, "i": 4}},
- "b": {"1": {"d": 9, "e": 8}, "2": {"f": 7, "g": 6}, "3": {"h": 5, "i": 4}},
- "c": {"1": {"d": 9, "e": 8}, "2": {"f": 7, "g": 6}, "3": {"h": 5, "i": 4}},
- }
- workingDict = sampleDict
- while hasattr(workingDict, "keys"):
- print("Available Configurations")
- choices = list(workingDict.keys())
- workingDict = workingDict[choices[cutie.select(choices)]]
Add Comment
Please, Sign In to add comment