0

I know it's easy to run python in cs50 IDE terminal. You just type 'python' in the terminal. But how to quit the python mode and change back to normal command-line mode? which command should I use?

2 Answers 2

0

You can close the interactive Python shell by calling the function

exit()

There are a few more, like quit(), which is an alias for exit(), and on Stack Overflow you can find a few more.

0

just click ctrl+d you can come out of the python shell. or you can type exit().

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .