Someone explain. I know he was a famous Sovient scientist.
post
replies:
So, 88 books, 1 garden, and 1 family?
replies:
permalink
fedilink
source
parent
hideshow 3 child comments
permalink
fedilink
source
parent
I really can't figure out what Zach intended for this to mean. Year is defined but never used: you'd expect something like books(year) instead of just books(). I have absolutely no idea what the function calls are supposed to represent.
replies:
permalink
fedilink
source
parent
hideshow 2 child comments
I think that "books", "gardening" and "family" were meant to be functions, each of which was called each year over the 88 year lifespan.
replies:
permalink
fedilink
source
parent
hideshow 1 child comment
It effectively runs:
books(); gardening(); family()
books(); gardening(); family()
books(); gardening(); family()
books(); gardening(); family()
books(); gardening(); family()
books(); gardening(); family()
...
it runs those 3 functions 88 times, there's no hint as to what they do.
Apart from the indentation issue (and semantics identified in sibling comment), the joke works in python:
>>> for i in range(3):
... print(i, end=' '); print(i**2, end=' '); print(i**3)
...
0 0 0
1 1 1
2 4 8
all 14 comments