Skip to content

Commit

Permalink
chore: removed ? in largest number
Browse files Browse the repository at this point in the history
  • Loading branch information
ongsici committed Oct 28, 2024
1 parent c003513 commit c90c17f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ def process_query(input):
value2 = int(new_input[:-1].split(" ")[4])
return str(value1+value2)
if "numbers is the largest" in input:
input = input.replace("?", "")
value = input[:-1].split(":")[-1].split(",")
return max(value)
if "your name" in input:
Expand Down

0 comments on commit c90c17f

Please sign in to comment.