Code: Alles auswählen
for text, (text, x, y) in enumerate(Werte):
zahl = Button(root, text = text, command = partial(tuer, int(text)))
zahl.place(x = x, y = y)
Code: Alles auswählen
for text, (text, x, y) in enumerate(Werte):
zahl = Button(root, text = text, command = partial(tuer, int(text)))
zahl.place(x = x, y = y)