Compare commits

..

No commits in common. "59b1018ea4a067628231b620c4842785e6f0d70e" and "d901aee93c0c9a7c8296cf205068d853e07cae6e" have entirely different histories.

38
GUI.py
View File

@ -1,19 +1,19 @@
from tkinter import * from tkinter import *
from tkinter import messagebox from tkinter import messagebox
root = Tk() root = Tk()
def ok(): def ok():
name = s1_wert.get() name = s1_wert.get()
return messagebox.showinfo( f"", name) return messagebox.showinfo( f"", name)
Label(root, text="S = Schere, R = Stein, P = Papier ").pack() Label(root, text="S = Schere, R = Stein, P = Papier ").pack()
s1_wert = Entry(root) s1_wert = Entry(root)
s1_wert.pack() s1_wert.pack()
Button(root, text="Wählen", command=ok).pack() Button(root, text="Wählen", command=ok).pack()
root.mainloop() root.mainloop()