Advent of Code 2020 Day 12 - using Python

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

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

  • @masterbe591
    @masterbe591 3 года назад

    I coded the same way with all this if-statements 🙈

    • @dylancodes1669
      @dylancodes1669  3 года назад

      Haha I feel like there might be another way but it worked!!

    • @masterbe591
      @masterbe591 3 года назад

      @@dylancodes1669 One time use, so it doesn' t need to be pretty :D

    • @Teekola
      @Teekola 3 года назад

      Me too! I only came here hoping to find a more elegant solution... 😅

    • @dylancodes1669
      @dylancodes1669  3 года назад

      @@masterbe591 good enough for me long as it works lol

  • @danielgurgel8080
    @danielgurgel8080 3 года назад

    I don't know why you assumed the changes in direction were multiples of 90 degrees. It was a coincidence the puzzle input only had values with these properties.