Skip to content

Commit 507b41c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 26decf1 commit 507b41c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

physics/first_law_of_thermodynamics.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def work(heat: float, internal_energy_variation: float) -> float:
8484

8585
__categorize_system(heat, "heat")
8686
__categorize_system(internal_energy_variation, "internal_energy_variation")
87-
87+
8888
work = heat - internal_energy_variation
8989
__categorize_system(work, "work")
9090
return round(work, 1)
@@ -113,7 +113,7 @@ def heat(internal_energy_variation: float, work: float) -> float:
113113

114114
__categorize_system(internal_energy_variation, "internal_energy_variation")
115115
__categorize_system(work, "work")
116-
116+
117117
heat = round(internal_energy_variation + work, 1)
118118
__categorize_system(heat, "heat")
119119
return heat
@@ -142,7 +142,7 @@ def internal_energy_variation(heat: float, work: float) -> float:
142142

143143
__categorize_system(heat, "heat")
144144
__categorize_system(work, "work")
145-
145+
146146
internal_energy_variation = round(heat - work, 1)
147147
__categorize_system(internal_energy_variation, "internal_energy_variation")
148148
return internal_energy_variation

0 commit comments

Comments
 (0)