Update app.py
Browse files
app.py
CHANGED
|
@@ -166,7 +166,7 @@ def reverse_text(text: str) -> str:
|
|
| 166 |
return text[::-1]
|
| 167 |
|
| 168 |
@tool
|
| 169 |
-
def find_non_commutative(table: dict
|
| 170 |
"""
|
| 171 |
Given a dictionary representing a multiplication table (keys are tuples (row_elem, col_elem)),
|
| 172 |
finds all elements involved in non-commutative pairs (where table[(x,y)] != table[(y,x)]).
|
|
|
|
| 166 |
return text[::-1]
|
| 167 |
|
| 168 |
@tool
|
| 169 |
+
def find_non_commutative(table: dict) -> str:
|
| 170 |
"""
|
| 171 |
Given a dictionary representing a multiplication table (keys are tuples (row_elem, col_elem)),
|
| 172 |
finds all elements involved in non-commutative pairs (where table[(x,y)] != table[(y,x)]).
|