• 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
etheriousnoob Avatar
Name:Unknown
Clan:Unknown
Member Since:Jun 2021
Last Seen:Dec 2023
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (16)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • ejini战神
      • resolved a question on "All Star Code Challenge #23" kata
      • 17 months ago
    • Custom User Avatar
      • ejini战神
      • resolved a question on "Convert a string to an array" kata
      • 2 years ago

      OP solved it, closing

    • Custom User Avatar
      • etheriousnoob
      • created a question for "Convert a string to an array" kata
      • 3 years ago

      how to convert ("") to [""], other tests are passed

    • Custom User Avatar
      • wspk
      • commented on "Is a number prime?" kata
      • 4 years ago

      You're right! Not a close reading on my part.

    • Custom User Avatar
      • Chrono79
      • commented on "Is a number prime?" kata
      • 4 years ago

      Even if -5 was a natural number (which it isn't):

      a natural number greater than 1

    • Custom User Avatar
      • hobovsky
      • commented on "Is a number prime?" kata
      • 4 years ago

      Is -5 a natural number? The definition you quoted mentions natural numbers. Are negative numbers such?

    • Custom User Avatar
      • wspk
      • commented on "Is a number prime?" kata
      • 4 years ago

      Everyone in the comments seems to agree that negative numbers aren't prime.
      The definition given in the description: "Per Wikipedia, a prime number (or a prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself."
      Is valid for negative numbers (e.g. -5 has divisors: 1, 5, -1, -5 i.e. the only positive divisors are 1 and itself), I think the language "positive divisors" makes it clear they're considering negative numbers here.

      Regardless of what common usage is, I think the definition should match the test cases. Clarifying the definition would be an easy fix.

    • Custom User Avatar
      • Chrono79
      • commented on "Is a number prime?" kata
      • 4 years ago

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

    • Custom User Avatar
      • etheriousnoob
      • commented on "Is a number prime?" kata
      • 4 years ago

      would there be anyway i could send u the test output?

    • Custom User Avatar
      • etheriousnoob
      • commented on "Is a number prime?" kata
      • 4 years ago

      but the real issue here is my other tests are passed (for prime numbers) the test is considering non prime numbers as prime numbers

    • Custom User Avatar
      • Chrono79
      • resolved an issue on "Is a number prime?" kata
      • 4 years ago

      Your code is returning True instead of False for those numbers that aren't prime numbers, the tests are ok, your code is wrong.

    • Custom User Avatar
      • etheriousnoob
      • created an issue for "Is a number prime?" kata
      • 4 years ago

      my test output is showing weird errors it says
      75 not prime:true should equal false
      4 not prime : true should equal false.this also happened for other numbers like 6 and 8...i mean 4,6,8and 75 are definitely not prime numbers pls fix this

    • Custom User Avatar
      • etheriousnoob
      • commented on "All Star Code Challenge #23" kata
      • 4 years ago

      ok thanks ✌️

    • Custom User Avatar
      • etheriousnoob
      • commented on "All Star Code Challenge #23" kata
      • 4 years ago

      objects and classes

    • Custom User Avatar
      • Awesome A.D.
      • commented on "All Star Code Challenge #23" kata
      • 4 years ago

      OOP? Loops?

      Anyway, you can use whatever tool you want, as long as it gets the job done.

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...