Question: Why does an invalid syntax message appear in the console log every time I tried to generate an output for this code please?
Repl link:https://replit.com/@RonJLu/PessimisticApprehensiveRectangle#slice.py
Question: Why does an invalid syntax message appear in the console log every time I tried to generate an output for this code please?
Repl link:https://replit.com/@RonJLu/PessimisticApprehensiveRectangle#slice.py
Hi @RonJLu, welcome to the community!
Note:
An easier way you can do this is just by using the Shell tab instead of the Console tab.
Just click the three dots 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.
You can also change the second line from run="python main.py"
to run="python slice.py"
, though it won’t have an effect for languages with interpreters as shown in the comment on line 1.
Also see the docs on how to configure a Repl: https://docs.replit.com/programming-ide/configuring-repl
Hi QwertyQwerty54, thanks for the warm welcome! Are you able to see the screenshot now by any chance?
Yes, after editing your post. Please take a look at my edited reply.
Thank you very much, this was a lot of helpful information, how would I use a shell tab instead please?
Alright then, thanks again, a lot of help
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.