Score Analyzer

Step 2: Add the following function to your project:
def is_number(string):
  try:
    float(string)
    # return True if string successfully converted to a float
    return True
  except ValueError:
    # return False if string could not be converted to a float
    return False
Last step Next step