• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
TedStudley Avatar
Name:Unknown
Clan:Flexport
Member Since:Apr 2014
Last Seen:Feb 2025
Profiles:
Following:6
Followers:3
Allies:3
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (9)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • adib_mannan
    • commented on "List Filtering" python solution
    • 3 years ago

    best

  • Custom User Avatar
    • covix
    • commented on "List Filtering" python solution
    • 4 years ago

    Indeed many solutions directly filter out string values and leave everything else in the list, but as @Chrono79 said the Kata input only consists in intgeres and strings.
    Furthermore, there exist realistic cases in which one can be interested in retaining only integers or filtering out only specific data types.

  • Custom User Avatar
    • Chrono79
    • commented on "List Filtering" python solution
    • 4 years ago

    ... takes a list of non-negative integers and strings

    The input contains only non-negative integers and strings.

  • Custom User Avatar
    • Abstrxk
    • commented on "List Filtering" python solution
    • 4 years ago

    this doesn't filter out the strings but allows only ints. If the source data had booleans or other data types this algo would lose all those other types and only preserve ints, which is not accurate to the request.

  • Custom User Avatar
    • pukka_sparkly
    • commented on "Linked Lists - Length & Count" python solution
    • 5 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • grensley
    • commented on "Linked Lists - Length & Count" python solution
    • 9 years ago

    Clever, but I don't think this is really best practices.

  • Custom User Avatar
    • asmgf
    • commented on "Linked Lists - Length & Count" python solution
    • 9 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • luongwd
    • commented on "Linked Lists - Length & Count" python solution
    • 9 years ago

    thanks for your explaination. I got stuck at that

  • Custom User Avatar
    • ZaphyrVonGenevese
    • commented on "Linked Lists - Length & Count" python solution
    • 10 years ago

    This comment is hidden because it contains spoiler information about the solution

  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...