How to correct errors in python code

Release: 2019-07-08 09:10:19
Original
24095 people have browsed it

How to correct errors in python code

How to modify Python input errors in interactive mode:

Open the IDE that comes with PYTHON, which is SHELL. If we enter incorrect information, it will appear in red.

How to correct errors in python code

At this time, move the cursor to the wrong line of code and click ENTER.

How to correct errors in python code

Then a new line of code will be automatically generated.

How to correct errors in python code

We can modify it based on this, and then click ENTER to output the correct result.

How to correct errors in python code

For more Python related technical articles, please visit the Python Tutorial column to learn!

The above is the detailed content of How to correct errors in python code. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!