:type s: str :rtype: bool
(self, s)
| 38 | |
| 39 | class Solution(object): |
| 40 | def isNumber(self, s): |
| 41 | """ |
| 42 | :type s: str |
| 43 | :rtype: bool |
| 44 | """ |
| 45 | try: |
| 46 | float(s) |
| 47 | return True |
| 48 | except: |
| 49 | return False |
nothing calls this directly
no outgoing calls
no test coverage detected