Advertisement
k1alo

1?

Dec 6th, 2023
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.46 KB | None | 0 0
  1. from tkinter import *
  2.  
  3. root = Tk()
  4. root.title("Hihihanki-hahanki")
  5. root.geometry("350x400")
  6.  
  7. button_x1_y1 = Button(text="button1")
  8. button_x1_y1.grid(row=0, column=0, columnspan=2, ipadx=70, ipady=6, padx=70, pady=10)
  9.  
  10. button_x1_y2 = Button(text="button3")
  11. button_x1_y2.grid(row=1, column=0, ipadx=6, ipady=6, padx=5, pady=5)
  12.  
  13. button_x1_y3 = Button(text="button4")
  14. button_x1_y3.grid(row=1, column=1, ipadx=6,  ipady=6, padx=5, pady=5)
  15.  
  16.  
  17.  
  18.  
  19. root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement