Skip to content

Commit 156f47d

Browse files
committed
More fixes
1 parent fc8e132 commit 156f47d

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

python-best-practices/variables_constants.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@
77

88

99
# Favor this:
10-
HOURLY_SALARY = 35
11-
SOCIAL_SECURITY_TAX_RATE = 0.04
12-
FEDERAL_TAX_RATE = 0.10
10+
# HOURLY_SALARY = 35
11+
# SOCIAL_SECURITY_TAX_RATE = 0.04
12+
# FEDERAL_TAX_RATE = 0.10
1313

14-
hours = 35
14+
# hours = 35
1515

1616

17-
def compute_net_salary(hours):
18-
return hours * HOURLY_SALARY * \
19-
(1 - (SOCIAL_SECURITY_TAX_RATE + FEDERAL_TAX_RATE))
17+
# def compute_net_salary(hours):
18+
# return hours * HOURLY_SALARY * (1 - (SOCIAL_SECURITY_TAX_RATE + FEDERAL_TAX_RATE))

0 commit comments

Comments
 (0)