We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc8e132 commit 156f47dCopy full SHA for 156f47d
python-best-practices/variables_constants.py
@@ -7,13 +7,12 @@
7
8
9
# Favor this:
10
-HOURLY_SALARY = 35
11
-SOCIAL_SECURITY_TAX_RATE = 0.04
12
-FEDERAL_TAX_RATE = 0.10
+# HOURLY_SALARY = 35
+# SOCIAL_SECURITY_TAX_RATE = 0.04
+# FEDERAL_TAX_RATE = 0.10
13
14
-hours = 35
+# hours = 35
15
16
17
-def compute_net_salary(hours):
18
- return hours * HOURLY_SALARY * \
19
- (1 - (SOCIAL_SECURITY_TAX_RATE + FEDERAL_TAX_RATE))
+# def compute_net_salary(hours):
+ # return hours * HOURLY_SALARY * (1 - (SOCIAL_SECURITY_TAX_RATE + FEDERAL_TAX_RATE))
0 commit comments