I super need tkinter but it doesn't work i suppose
tkinter cant run If i add something to example code
from tkinter import * window = Tk() window.mainloop()
When I run the code you have in your question I see a grey rectangle. This is the expected behaviour. If you want something else to appear you need to add extra code, like there is in the examples.
What browser are using using? It may be the one you have at home is different to the other one you use (at school?).
Also repl.it is "faking" the output as their IDE is basically a web app and these don't have access to the same graphics context to draw on as the context a gui application on your computer has. If you want a decent experience install Python on your PC and run it from the command line/terminal.