Ad
  • Default User Avatar

    no le than or greater than ign? that' nothing. my "" key i broken.

  • Custom User Avatar

    You might be able to customise your keyboard in your computer settings? Find two keys you never use, and reassign the keys to have the signs you need. There's probably a google article to guide you in doing this, for whatever OS you're using.

  • Custom User Avatar

    Copying and pasting characters into code editor does not prevent you from training on the kata.

    If you cannot type anything into the trainer, make sure that you have VIM and EMACS editor modes disabled.

  • Custom User Avatar

    That's all very pretty but my keyboard doesn't have less than and greater than signs. The only way I could write a less than sign character was by pasting the character into the code editor. Now I can't do my training, but I think is well done that we can't paste anything into code editors.

  • Default User Avatar

    you're forgetting when n is equal to 1. There's a simpler mathematical solution.
    I gave my answer with one for loop and two if statements.