• Sign Up
  • Kata
  • Kumite
  • Blog
  • Forum
  • Wiki
  • Leaders
  • Log In
  • Sign Up
Name:Unknown
Clan:Unknown
Member Since:Jul 2018
Last Seen:Jul 2019
Profiles:
Following:12
Followers:1
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (191)
  • Replies
  • Authored
  • Needs Resolution
    • SarahClough
    • commented on "Bulls and Cows" kata

    That's just what I was thinking!

    • benkay
    • commented on "Meeting" java solution

    Would be more challenging if you used no imports isn't it?

    • fratt
    • commented on "Total amount of points" java solution

    And then on production suddenly there are 393 goals in a match for some reason..

    • Fbasham
    • commented on "Bulls and Cows" kata

    In case anyone's curious, you need to validate the secret number upon initialization and the guess when calling the compare method.

    • Greatlemer
    • commented on "Curing Arachnophobia" kata

    That was good fun, thank you!

    • ParanoidUser
    • created a suggestion for "Bulls and Cows" kata

    A minor typo in the description: ... returns a String format[T]ed as "X bull/bulls ...

    • HerrWert
    • created a question for "Bulls and Cows" kata

    At the appropriate places in my code, I am checking for a valid guess from the user. If the guess is invalid, I am issuing the following (based on what I read in the instructions for the kata):

    raise ValueError("A number should be positive and contain 4 distinct digits.\nThis turn is not counted")

    I have debugged the execution of my solution and confirmed that it is reaching this point in the code when it should (i.e., on invalid input). But somehow my solution is failing with the message that I did not raise a ValueError. I've read all the documentation that I can find about raising exceptions in Python 3, but I can't figure out why the line above isn't working. Can someone point me in the right direction?

    • xXLaokoonXx
    • commented on "Classic Hello World" kata

    task however is to print "Hello World!", about new line nothing is mentioned?!

    • Javatlacati
    • commented on "Classic Hello World" kata

    actually you can learn how to print the new line character if you want to use print :smile:

    • douglasdiasds
    • commented on "Alphabet war" java solution

    Thank you!

    • Chrono79
    • resolved an issue on "Will there be enough space?" kata

    Done.

    • a.2.c.4
    • commented on "Alphabet war" java solution

    Hmm weird, but I will know better next time

    • Blind4Basics
    • commented on "Alphabet war" java solution

    one cannot see the solutions, but the comments are visible/accesible from the dashboard

    • a.2.c.4
    • commented on "Alphabet war" java solution

    Um, wait I thought you couldn't see solutions if you didn't solve the task first...

    • Chrono79
    • commented on "Will there be enough space?" java solution

    Added a fixed test, now this solution is invalid.

  • Loading more items...
  • © 2021 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm