Code is not running every time give a erroe no.2 that is file is not directory

Question:

Replit Profile: https://replit.com/@tajeemkhan35199

kindly plz help me out

Welcome to Ask! Please provide the link to your repl as well as a screenshot of the error.

1 Like

rename the file that you want to run to main.py. Any other Python code files must also end with .py. Also, you have multiple programs in the same repl: replit will only run main.py by default, no matter what file you’re viewing.

1 Like