• 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
codesilas Avatar
Name:Silas Duarte
Clan:Openbootcamp
Member Since:Dec 2022
Last Seen:Dec 2022
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (2)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • benjaminzwhite
    • commented on "Split Strings" kata
    • 3 years ago

    Hi @codesilas and welcome to Codewars - it seems this is your first kata: on Codewars you must return your final result, rather than just print it to console.

    So replace your current print(new_list) with the return statement: return new_list. That's why the tests are saying None should equal ['as', 'df', 'ad', 'sf'] -- this error message means that you are not returning anything, hence the None, while the tests are expecting the list ['as', 'df', 'ad', 'sf'].

    I recommend reading https://docs.codewars.com/getting-started/solving-kata and also this Troubleshooting guide as you start out with the site, as Chrono79 said - it contains lots of helpful info.

  • Custom User Avatar
    • Chrono79
    • resolved a question on "Split Strings" kata
    • 3 years ago

    Read this: https://docs.codewars.com/training/troubleshooting/#expected-the-same

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...