Compare commits
No commits in common. "59b1018ea4a067628231b620c4842785e6f0d70e" and "d901aee93c0c9a7c8296cf205068d853e07cae6e" have entirely different histories.
59b1018ea4
...
d901aee93c
38
GUI.py
38
GUI.py
@ -1,19 +1,19 @@
|
||||
from tkinter import *
|
||||
from tkinter import messagebox
|
||||
root = Tk()
|
||||
|
||||
|
||||
def ok():
|
||||
name = s1_wert.get()
|
||||
return messagebox.showinfo( f"", name)
|
||||
|
||||
|
||||
Label(root, text="S = Schere, R = Stein, P = Papier ").pack()
|
||||
|
||||
s1_wert = Entry(root)
|
||||
s1_wert.pack()
|
||||
|
||||
Button(root, text="Wählen", command=ok).pack()
|
||||
|
||||
|
||||
root.mainloop()
|
||||
from tkinter import *
|
||||
from tkinter import messagebox
|
||||
root = Tk()
|
||||
|
||||
|
||||
def ok():
|
||||
name = s1_wert.get()
|
||||
return messagebox.showinfo( f"", name)
|
||||
|
||||
|
||||
Label(root, text="S = Schere, R = Stein, P = Papier ").pack()
|
||||
|
||||
s1_wert = Entry(root)
|
||||
s1_wert.pack()
|
||||
|
||||
Button(root, text="Wählen", command=ok).pack()
|
||||
|
||||
|
||||
root.mainloop()
|
||||
|
Loading…
x
Reference in New Issue
Block a user