It looks like you're new here. If you want to get involved, click one of these buttons!
inst=kite.instruments("NSE")
inst=kite.instruments(exchange="NSE")
https://pasteboard.co/ZvF6rjqXiPh6.png
Please look at the documentation. I have attached the screenshot above.
Your instrument call is wrong.
Instead of
inst=kite.instruments("NSE")
you have to doinst=kite.instruments(exchange="NSE")