Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,8 @@ def replace_vowels_with_x_and_concatenate_with_provided_int(sentence:str, number
|
|
| 18 |
number: the second argument
|
| 19 |
"""
|
| 20 |
vowels = "aeiouAEIOU"
|
| 21 |
-
result
|
|
|
|
| 22 |
return f"Here's the output of your function: '{result}'"
|
| 23 |
|
| 24 |
@tool
|
|
|
|
| 18 |
number: the second argument
|
| 19 |
"""
|
| 20 |
vowels = "aeiouAEIOU"
|
| 21 |
+
result = ""
|
| 22 |
+
result = ''.join('X' if char in vowels else char for char in sentence)+result
|
| 23 |
return f"Here's the output of your function: '{result}'"
|
| 24 |
|
| 25 |
@tool
|