Ad
  • Custom User Avatar
  • Custom User Avatar

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

  • Custom User Avatar

    I failed.
    Nice tip. Speed is key for me too.

  • Custom User Avatar

    I don't get how this solution is the fastest.
    It has 2 for loops.
    Can someone explain?

  • Custom User Avatar

    Well, i look up syntaxes and methods all the time, i also look up errors i get and if things get tough i even try debugging using "Python Tutor" (look it up, its a great resource!) to see my code running step by step. What brings me joy, is that while i look up stuff and debug using an aid, each time i know precisely what i am looking for, the "logic" behind the code and... my bloopers (and how to fix them!) when i see the code running in debug mode!

    What i avoid is to look up the solution or copy code. I keep looking up methods and checking the flow of my code until i get it right by myself. I find that this is a learning procedure, the more i do it the less i need it and the more the code "flows" within me undaided.

  • Custom User Avatar

    I am new here, and it's a stupid question :S

  • Custom User Avatar

    I don't like to wait too long (even a nanosecond).
    But I like to learn new 1-line codes.

  • Custom User Avatar

    No. Why would it be? And how would you police that? :P

  • Custom User Avatar

    If I forget a method [ie reverse()] to manipulate a list, and I look up that method to solve a kata. Would this be considered cheating?