2020/20.py
def part1() -> int:
    """
    I had a bug here that cost me at least an hour? maybe more? No idea. I had the index
    on the second one of these wrong (I hard-coded it as 1, instead of -1)
    """
    return (
        assignments[0][0][0]
        * assignments[0][-1][0]
        * assignments[-1][0][0]
        * assignments[-1][-1][0]
    )

    I had a bug here that cost me at least an hour? maybe more? No idea. I had the index
    on the second one of these wrong (I hard-coded it as 1, instead of -1)
    
I had a bug here that cost me at least an hour. maybe more. No idea. I had the index
on the second one of these wrong (I hard-coded it as 1, instead of -1)
I had a bug here that cost me at least an hour . maybe more . No idea . I had the index on the second one of these wrong ( I hard - coded it as 1 instead of - 1 )
def part1() -> int:
    return (
        assignments[0][0][0]
        * assignments[0][-1][0]
        * assignments[-1][0][0]
        * assignments[-1][-1][0]
    )
def part1 ( ) -> int : return ( assignments [ 0 ] [ 0 ] [ 0 ] * assignments [ 0 ] [ - 1 ] [ 0 ] * assignments [ - 1 ] [ 0 ] [ 0 ] * assignments [ - 1 ] [ - 1 ] [ 0 ] )
I had a bug here that cost me at least an hour?
I had a bug here that cost me at least an hour?
"""
    I had a bug here that cost me at least an hour? maybe more? No idea. I had the index
    on the second one of these wrong (I hard-coded it as 1, instead of -1)
    """