(s)
| 47 | |
| 48 | return iou |
| 49 | def clean_string(s): |
| 50 | while s and (s[0] in ":[]()' ."): |
| 51 | s = s[1:] |
| 52 | while s and (s[-1] in ":[]()' ."): |
| 53 | s = s[:-1] |
| 54 | return s |
| 55 | |
| 56 | def convert_if_number(answer): |
| 57 | if isinstance(answer, (int, float)): |
no outgoing calls
no test coverage detected