VGekko commited on
Commit
2d52909
·
verified ·
1 Parent(s): 910a969

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
18
  """
19
  if arg2 == 'first':
20
  return arg1[0]
21
- else if arg2 == 'last':
22
  return arg1[-1]
23
  else:
24
  return 'arg2 format is not correct'
 
18
  """
19
  if arg2 == 'first':
20
  return arg1[0]
21
+ elif arg2 == 'last':
22
  return arg1[-1]
23
  else:
24
  return 'arg2 format is not correct'