I'm guessing that you're expecting the files on your own computer to be changed. That will not work, though, because Repl.it is a website and not a program so you are unable to edit local files.
Thank you all for responding,
Yes I mean that the files on my computer remains untouched. so what python repl does, it looks if there is path in my computer with the specified name, and if so build file with the same name on repl and work on it??
@OfirLiron No, Repl.it is not allowed to touch your computer's files. If it were allowed to do that, people could write code to delete every single file on your computer, so it is blocked from accessing your local files.
What Repl.it does instead is it runs your code on its own computer, which runs linux. If you want to run it on your computer instead, you can do so by installing Python on your local machine and downloading your code from Repl.it (people have already asked how to do this, so just search the Ask board for how to do this)
The program works? There's no print statement so the console is empty. The files get edited correctly too.