In python when i run TKinter code ,Error come

from tkinter import *

r = TK()

mainloop()
when i run this program came,
Name ‘tkinter’ is not defined

How can i resolve this pronlem

Try reinstalling Python tk/tkk for tkinter plugin once again using the setup file for installing the Pyhton3.0 + versions .