You used generics and boom! 💥 "List" is invariant. Consider using "Sequence" instead.

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2024

Комментарии • 4

  • @josephroiml
    @josephroiml 5 месяцев назад

    "Let me show you the quickest way to get to the problem...." I love that mindset 😊

    • @python-for-everyone
      @python-for-everyone  5 месяцев назад

      That is so nice of you to say. I rewrote the example 3 times to keep it as small as possible. Thanks for noticing!

  • @skwalex
    @skwalex 5 месяцев назад

    Please keep up the good work!