How to fix this error?

Everything can be seen on the screen:

  • what mistake? judging by the code in the screenshot, the interpreter should discard IndentationError , and in your TypeError console, indent for a comment inside the function and there will be no error. - Alexander Druze
  • @borisrozumnuk Thank you, but, I'm afraid, the error did not disappear, does not write anything in the console, but comments still highlight - Fexolm

0