Ad
  • Custom User Avatar

    по умолчанию функция вернёт None. не обязательно писать последнюю строчку в вашем коде.

  • Custom User Avatar

    You missed a new line at the end.

  • Custom User Avatar

    Not sure what this error means:
    expected:
    < *


    *[
    ]> but was:
    < *


    *[]>

    The only difference between the 2 are the [] but I can't figure what's causing it. The program output is just as expected, and I made sure there wasn't any trailing white spaces.