Skip to content

Commit 2320aac

Browse files
committed
feat: comment
1 parent c0e4a67 commit 2320aac

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

codes/python_basic/comment.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# 这是一个注释
2+
print("hello world")
3+
4+
# 这是第二个注释
5+
print("hello hello") # 输出"hello hello"
6+
7+
"""
8+
这是一个多行注释
9+
10+
在多行注释之间,可以写很多内容
11+
"""
12+
print("Hello Python")

0 commit comments

Comments
 (0)