I have a program with the following code:
coros = [
get_book(pair, session)
for pair in PAIRS
]
How does this not give a syntax error? Or is it that if you do a for-loop in a list you have to put the function before the for-statement? I've never seen this but it's everywhere in the program.