from tkinter import *
class btr(Tk):
def __init__(self):
super(btr, self).__init__()
self.ticket = Text(self,height=12, width =70, bd = '10').grid(row=0, column=0)
self.ticket.insert(INSERT, "abcdefg")
self.ticket.insert(END, "abcdefg")
btr().mainloop()
Please help me. I am very new to tkinter(Python).
I was making a GUI Program but I getting this error
AttributeError: 'NoneType' object has no attribute 'insert'
please help me as fast as you can.