Whene i click run there is no result

Question:

Current behavior:

Desired behavior

Repl link:

code snippet

Welcome to Ask! Could you provide the link to your Repl so we can take a look?

2 Likes

Hi! So I looked at the code and the only program that I found in your list is the one called “Python.”

The reason why it isn’t running is because you do not have a program set to run. All those files are useless if the computer doesn’t know to run it. The easiest way to fix this issue is to name the file you want to run main.py. For example, if you want the file named Tim.py to run, change the name to main.py.

Hope this helps
MilesWK

2 Likes

Hey @NourElddinMessa, welcome to the forums!

You could also do this:
Just click the ⋮ next to “Files” then click “Show hidden files”. Next click on the .replit file and finally you can change the entrypoint to whatever file you want to run.

Images

Dots

Show hidden files

edited

You should also see the docs on how to configure a Repl: https://docs.replit.com/programming-ide/configuring-repl

And if you want to run the last edited file, take a look at this post:

2 Likes