Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Python 3
- from tkinter import *
- app = Tk()
- app.title("usefull")
- c = [i for i in range(15)]
- for i in c:
- Label(text=f"{i}").grid(column=int(f"{i+1}"), row=int(f"{i}"))
- Button(text=f"{i}").grid(column=int(f"{i}"), row=int(f"{i}"))
- app.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment