---
title: "Eddie Smith (@seriousdude) | Hashnode"
description: "Eddie Smith (@seriousdude) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@seriousdude"
---

@seriousdude

# Eddie Smith

@seriousdude · Joined November 2020

## Comments

[Excellent work. I thought this problem demanded more legwork than other days. And those line breaks! (I used Vim, to remove single newlines and reduce doubles to a single). For the "chain of ands" problem, I tried something like: def check\_validity(passport) keys=\["byr:","iyr:","eyr:","hgt:","hcl:","ecl:","pid:"\] for test in keys: if test in passport: pass else: return False return True](https://hashnode.com/posts/advent-of-code-day-4/5fcbb1f32e4db7780e483a06/comment/5fcc2132ef5f84019de79608)

Comment · Article · Dec 6, 2020 · [Advent of Code day 4](https://hashnode.com/posts/advent-of-code-day-4/5fcbb1f32e4db7780e483a06)
