Update boom.py/boom.py

This commit is contained in:
2025-11-03 19:07:06 +00:00
parent 282d34fe03
commit b630894847

View File

@@ -1,20 +1,21 @@
import tkinter as tk
class app:
def __init__(self, root):
self.root = root
root.title("oh hey your computer go boom now")
root.geometry("900x700")
root.minsize(650, 500)
def idk(self):
while True:
win = self.root
win.title("Fatal Error: fu"); win.geometry("400x400")
tk.Label(win, text="Say bye to your computer",fg="red", font=("Courier", 24, "bold")).pack()
def main():
root = tk.Tk()
app = app(root)
root.mainloop()
if __name__ == "__main__":
import tkinter as tk
class App:
def __init__(self, root):
self.root = root
root.title("oh hey your computer go boom now")
root.geometry("900x700")
root.minsize(650, 500)
def idk(self):
while True:
win = self.root
win.title("Fatal Error: fu"); win.geometry("400x400")
tk.Label(win, text="Say bye to your computer",fg="red", font=("Courier", 24, "bold")).pack()
def main():
root = tk.Tk()
app = app(root)
app.idk()
root.mainloop()
if __name__ == "__main__":
main()