Your switcher is a dictionary. It has keys and their values.
To get a list of the keys, simply call switcher.keys()
.
Also, you can actually loop through most objects that have structered elements (implement Iterable).
For dictionaries, you'd use for key,value in switcher.items():
or switcher.values()
respectively.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…