• 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
andrewMacmurray Avatar
Name:Andrew MacMurray
Clan:Founders & Coders
Member Since:Aug 2015
Last Seen:Feb 2023
Profiles:
Following:218
Followers:232
Allies:209
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (610)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • latifaabdillahi
    • commented on "Stringy Strings" kata
    • 7 days ago

    helpful comment, i couldnt see the correlation

  • Custom User Avatar
    • trashy_incel
    • resolved an issue on "A Needle in the Haystack" kata
    • last month

    two issues with your code:

    • Codewars expect you to return your result, not print() it
    • your code does not compile because your f-string literal is ill-formed: you reuse the same double-quote character (") for both the outer and inner string. you need to either escape the inner double-quotes \", or use single quotes: ' for one of the pairs
  • Custom User Avatar
    • Mazen321
    • created an issue for "A Needle in the Haystack" kata
    • last month

    Very bad test

  • Custom User Avatar
    • Nardeep
    • commented on "A Needle in the Haystack" kata
    • last month

    will do, sorry

  • Custom User Avatar
    • Chrono79
    • commented on "A Needle in the Haystack" kata
    • last month

    Mark your post as having spoiler content next time, please. Read this, it'll help you get started: https://docs.codewars.com/training/troubleshooting

  • Custom User Avatar
    • hobovsky
    • commented on "A Needle in the Haystack" kata
    • last month

    You need to return your answer, not print it.

  • Custom User Avatar
    • Nardeep
    • commented on "A Needle in the Haystack" kata
    • last month

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

  • Custom User Avatar
    • shreedave
    • commented on "A Needle in the Haystack" kata
    • 2 months ago

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

  • Custom User Avatar
    • quette111
    • commented on "A Needle in the Haystack" kata
    • 2 months ago

    I agree, this needs to be listed as 9 Kata

  • Custom User Avatar
    • Hage-Tassang
    • commented on "A Needle in the Haystack" kata
    • 3 months ago

    hope u can do it other way without using find or index function by ordering the list by order a,b,c,d,e,f n use for loop for constant result

  • Custom User Avatar
    • natan
    • commented on "A Needle in the Haystack" kata
    • 3 months ago

    my guess would be that you edited the test code

  • Custom User Avatar
    • AnthonyArtavia
    • commented on "A Needle in the Haystack" kata
    • 3 months ago

    there is a problem with the first test, it told me this:

    Time: 445ms Passed: 3Failed: 1Exit Code: 1
    Test Results:
    Fixed Tests
    Basic Test Cases
    'found the needle at position 3' should equal 'v 3'
    Test Passed
    Test Passed
    Test Passed
    Completed in 0.05ms
    Completed in 0.10ms

    checkout --->should equal 'v 3'<---, only running it by "attemp" worked

  • Custom User Avatar
    • ejini战神
    • created an issue for "Stringy Strings" kata
    • 4 months ago

    Java:

    • Missing fixed tests

    • Should use assertion messages instead of console logging

  • Custom User Avatar
    • Just4FunCoder
    • resolved a suggestion on "draw me a chessboard" kata
    • 4 months ago

    Enabled in this fork

  • Custom User Avatar
    • big_M
    • created a suggestion for "A Needle in the Haystack" kata
    • 4 months ago

    the random tests were just numbers.
    now strings, numbers, booleans
    fork python

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...