Skip to content

Commit

Permalink
fix: remove last char
Browse files Browse the repository at this point in the history
  • Loading branch information
ongsici committed Oct 28, 2024
1 parent c90c17f commit 5a12a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def process_query(input):
return str(value1+value2)
if "numbers is the largest" in input:
input = input.replace("?", "")
value = input[:-1].split(":")[-1].split(",")
value = input.split(":")[-1].split(",")
return max(value)
if "your name" in input:
return "SiCi"
Expand Down

0 comments on commit 5a12a54

Please sign in to comment.