We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55cefb5 commit 8a1f008Copy full SHA for 8a1f008
chapter_1/note.py
@@ -0,0 +1,25 @@
1
+#------------------------------------------------------------------------------------------------单行注释 start
2
+# Python中单行注释以 # 开头
3
+# 这是一个注释
4
+print("Hello, watermelon!")
5
+#------------------------------------------------------------------------------------------------单行注释 end
6
+
7
+#------------------------------------------------------------------------------------------------多行注释 start
8
+# ---------------------------------------------------------------三个单引号
9
10
+'''
11
+这是多行注释,用三个单引号
12
13
14
15
16
17
+# ---------------------------------------------------------------三个双引号
18
19
+"""
20
+这是多行注释,用三个双引号
21
22
23
24
25
+#------------------------------------------------------------------------------------------------多行注释 end
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments