Skip to content

Commit 9a473dc

Browse files
authored
Merge pull request #744 from sakibumumuni/patch-2
Display density with unit in operators.md
2 parents 76ca0ac + 3dd667d commit 9a473dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

03_Day_Operators/03_operators.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ print(weight, 'N') # Adding unit to the weight
174174
mass = 75 # in Kg
175175
volume = 0.075 # in cubic meter
176176
density = mass / volume # 1000 Kg/m^3
177+
print(density, 'Kg/m^3') # Adding unit to the density
177178

178179
```
179180

0 commit comments

Comments
 (0)