From f29362b4ba2be25f6a8bdcad4479669dfaffa71b Mon Sep 17 00:00:00 2001 From: alvayeo <64535506+alvayeo@users.noreply.github.com> Date: Wed, 13 May 2020 18:44:08 +0800 Subject: [PATCH] Update code_challenge_solution.py omit duplicated code print: line 10 in original code_challenge_solution.py --- .../08 - Handling conditions/code_challenge_solution.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python-for-beginners/08 - Handling conditions/code_challenge_solution.py b/python-for-beginners/08 - Handling conditions/code_challenge_solution.py index 9238ddc..c33cd4c 100644 --- a/python-for-beginners/08 - Handling conditions/code_challenge_solution.py +++ b/python-for-beginners/08 - Handling conditions/code_challenge_solution.py @@ -7,7 +7,7 @@ if price >= 1.00: tax = .07 - print('Tax rate is: ' + str(tax)) else: - tax = 0 - print('Tax rate is: ' + str(tax)) \ No newline at end of file + tax = 0 + +print('Tax rate is: ' + str(tax))