Ad
  • Default User Avatar

    I don't think either is more right. Yonog1's answer exactly matches the requirement "returns a new list with the strings filtered out" whereas yours techinically returns a new list of only integers. Assuming the input is limited to integers and strings as stated, either works.

  • Custom User Avatar

    Please mark your post as having spoiler content next time.