Skip to content

Commit

Permalink
Update evaluate.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ikostan committed Oct 30, 2024
1 parent 4649c74 commit 73b87dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kyu_2/evaluate_mathematical_expression/evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def calc(string: str) -> float:
string = ' '.join(strings)

string = ''.join(string.split('+'))
strings: list = string.split()
strings = string.split()
string = process_brackets(strings)
string = process_duplicate_minus(string)
string = process_math_expression(string, ['*', '/'])
Expand Down

0 comments on commit 73b87dd

Please sign in to comment.