class Solution:
def isNumeric(self , str ):
# write code here
try:
str=float(str)
return True
except:
return False