I use mac, learning python, using pycharm
code:
from tkinter import * root = Tk() root.mainloop()
result:
NameError: n