Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
erelsgl committed May 16, 2024
1 parent ca24460 commit cfe7517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gymatria.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def aleph_beth(self):
def __add__(self , other) -> int:
if type(other)== int or type(other)== float:
return self.expr_value + int(other)
return self.expr_value + other.expr_value + 1
return self.expr_value + other.expr_value

def __sub__(self , other) -> int:
if type(other)== int or type(other)== float:
Expand Down

0 comments on commit cfe7517

Please sign in to comment.