Merge remote-tracking branch 'origin/master' into master

master
Ben Maurer 2022-12-07 11:42:20 -06:00
commit f6d828c1a1
1 changed files with 0 additions and 1 deletions

View File

@ -25,7 +25,6 @@ for r, rucksack in enumerate(rucksacks):
rucksack_1prev = set(rucksacks[r-1]) rucksack_1prev = set(rucksacks[r-1])
rucksack_2prev = set(rucksacks[r-2]) rucksack_2prev = set(rucksacks[r-2])
(in_badge,) = rucksack_0prev & rucksack_1prev & rucksack_2prev (in_badge,) = rucksack_0prev & rucksack_1prev & rucksack_2prev
print(in_badge)
if in_badge.islower(): if in_badge.islower():
badges_priority = badges_priority + ord(in_badge) - 96 badges_priority = badges_priority + ord(in_badge) - 96
else: else: