What is the shortcut key for python comments?

coldplay.xixi
Release: 2023-01-03 09:28:43
Original
60424 people have browsed it

Python comment shortcut keys: 1. Single-line comments are [#], Mac shortcut keys are [command /], Windows shortcut keys are [Ctrl /]; 2. Multi-line comments are three single quotes 【'''Comments'''].

What is the shortcut key for python comments?

The operating environment of this tutorial: Windows 7 system, python version 3.9, DELL G3 computer.

python comment shortcut key:

1. Single-line comment

Single-line comment is

#Mac The shortcut key for windows is command /

The shortcut key for windows is Ctrl /

What is the shortcut key for python comments?

2. Multi-line comments

Multi-line comments are three single quotes '''Comments'''

Because of this string There is no name, and the program does not do anything with this string, so it has no impact on the running of the program. It is equivalent to a comment, although not really a comment in the strict sense.

What is the shortcut key for python comments?

Related free learning recommendations: python video tutorial

The above is the detailed content of What is the shortcut key for python comments?. 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!