Ad
  • Default User Avatar

    thank you for explaining the code!

  • Default User Avatar

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

  • Default User Avatar

    hey, can u help please? do u know by chance how to convert complex numbers to another type like float?
    cause I wrote a quadratic equation but the output is a complex, so... dunno, maybe there is another formula without this conversion problem?

  • Default User Avatar

    "Execution Timed Out" is sometimes there for code and sometimes not for THE SAME code.
    it should run the same amount of time, so what's the problem?

  • Default User Avatar

    i'm an idiot. that wasn't my 8kyu level, though dunno why i got a fail when even numbers are the outliers (they are mentioned first in code).
    what could i actually use?
    currently using .split() for getting a list, int(), .index().

    anything recommended?

  • Default User Avatar

    u got a string type here.
    i use int(num) - it changes type to int. though, most likely not the best option.