Ad
  • Custom User Avatar

    Haha, Im doign personal projects. I havent been on here that much.

  • Custom User Avatar
  • Default User Avatar

    Honey has done 20 more kata since! Let's goooooooooooo

  • Custom User Avatar

    This is the Monday motivation we all need! Very well said Misuta 🥰

  • Custom User Avatar

    Approved by someone

  • Custom User Avatar

    Hope 8 months later you rised this level. I did the same exact solution and I only practised for a couple of months and katas, but while you progress you'll see (and this message is going to those who feels the same, and I think all of we felt once at last) that you learn from previous katas new ways and methods to programming, sometimes you need bit more knowledge learn see it from another point of view. I've made a document with all katas I did, my solution and other solutions I feel interesting. If I don't understand some or whatever I ask ChatGPT; we didn't learned knowing all, right? Somebody machine or not, AI or not have to teach us. So, Ganbatte kudasai, minasan! (And sorry for my english, writting fast, sleeped poorly...)

  • Custom User Avatar
  • Custom User Avatar

    It's because parseInt takes 2 parameters and I forgot that. I fixed it now.

  • Custom User Avatar

    Why??? all results would be NaN: Failed for
    seq : Iterator [
    false, true, true, false, true,
    true, false, false, false, true,
    false, true, false, true, false,
    false, true, false, false, false,
    false, false, false, true, true,
    true, true, true, true, false
    ])
    pred : function parseInt() { [native code] }
    reason : expected false to equal true

  • Custom User Avatar

    it is a joke? TypeError: seq.split is not a function

  • Default User Avatar

    if only some (but not all) the elements in the sequence are True

    JavaScript:

    Failed for 
    seq : [  1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0,  0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1,  1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0,  0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1,  0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1,  1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1]
    pred : function parseInt() { [native code] }
    reason : expected false to equal true
    

    but parseInt never returns true...
    Now trying truthy instead of true:

    Failed for 
    seq : Iterator [
      true,  true,  true,  true,  false, false, false, true,
      true,  false, false, false, false, false, true,  true,
      false, true,  false, false, true,  false, true,  false,
      false, false, true,  true,  false, true,  false, false,
      true,  true,  true,  false, false, false, true,  false,
      true,  false, true,  true,  true,  false, true,  false,
      false, false, true,  true,  false, false, false, true,
      false, true,  false, true,  true,  true,  true,  false,
      true,  false, true,  false, false, true,  false, true,
      true,  false, false, true,  true,  true,  true,  true,
      true
    ])
    pred : function parseInt() { [native code] }
    reason : expected false to equal true
    

    but parseInt never returns a truthy value here...

  • Custom User Avatar

    Seems a bit harder than 7kyu

  • Custom User Avatar
  • Custom User Avatar

    This SHOULD NOT be approved until the description is changed to match the live version (since we have people randomly running around silently blind approving stuff these days).

  • Default User Avatar
  • Loading more items...