Created
December 20, 2018 13:41
-
-
Save hcosta/fa87819053b8109e5902ea6a8d354b0f to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Calculator: | |
def __init__(self): | |
self.value = 0 | |
def add(self, a, b): | |
self.value = a + b | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment