how can I use the value of a variable as a key to a dictionary?

后端 未结 0 1922
没有蜡笔的小新
没有蜡笔的小新 2020-12-30 14:08

I\'m using tkinter to create a button for each key in a dictionary. This is my code:

from tkinter import *

def main():
    dictionary = {
        "a&quo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题