Python Solution for 2021 Advent of Code - Day 2 - Dive!

preview_player
Показать описание
Solution to both parts of 2021's Advent of Code's Day 1's problem. You might have different data to deal with. However, hopefully the code still works the same for you as it does for me.

Bradley Sward is currently an Associate Professor at the College of DuPage in suburban Chicago, Illinois. He has earned a Masters degree in Software Engineering from DePaul University, a Masters degree in Computer Science from the University of Illinois at Springfield, and two Bachelors degrees in Computer Science and Molecular Biology from Benedictine University. Prior to teaching, Bradley worked for five years in the field of casino gaming on a variety of video slot machine and poker games. The Village People have been permanently etched into his brain.
Рекомендации по теме
Комментарии
Автор

Started watching this series last year, glad to see your return :)

sirgems
Автор

Sry im a beginner what does the: data = [x for x in f.read().split(„\n“)]

i know what the for loop is

and the split just split‘s the list after de paragraph right?

Bur why is infront of the for loop a string?

ambitious_suits