Last active
January 23, 2017 22:38
-
-
Save katiayn/fd9f84d7ac70c994ba4b6d83d098e52d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class VATCalculator(object): | |
def calculate_vat(self, **kwargs): | |
is_biscuit = kwargs['is_biscuit'] | |
is_coated_in_chocolate = kwargs['is_coated_in_chocolate'] | |
if is_biscuit and is_coated_in_chocolate: | |
return 20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment