Skip to content

Commit 92324b6

Browse files
Update and rename 01_comments to 01_comments.py
1 parent 4bc31b9 commit 92324b6

File tree

2 files changed

+22
-11
lines changed

2 files changed

+22
-11
lines changed

scripts/01_comments

Lines changed: 0 additions & 11 deletions
This file was deleted.

scripts/01_comments.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#===================================================================
2+
# Comments
3+
# ---------------------------------------
4+
# Comments are ignored by Python when the code runs.
5+
# They’re just for humans — to explain, organize, and document code.
6+
#===================================================================
7+
8+
# This is a single-line comment
9+
10+
# Multi-line Comment Example:
11+
# 1. Create User Name
12+
# 2. Print Message to User
13+
# 3. Store Data
14+
15+
# ---------------------------------------
16+
# Where We Place Comments?
17+
# ---------------------------------------
18+
19+
# Store the final exam score
20+
x = 10
21+
22+
x = 9 # Final exam score

0 commit comments

Comments
 (0)