still_asking.py
python · 45 lines
1"""2still_asking.py3A program that asks but does not return.4"""56from time import sleep789def what_is_it_about_the_human_mind():10 """Every continent. Every era. Independently."""1112 yield "before science"13 yield "before writing"14 yield "before cities"15 yield "someone looked up"1617 sleep(1)1819 yield "and on the other side of the world"20 yield "someone else looked up"21 yield "not knowing about the first one"2223 sleep(1)2425 yield "and they both"262728def the_reaching():29 questions = what_is_it_about_the_human_mind()30 for each in questions:31 print(f" {each}")32 sleep(0.4)3334 # the generator ends here35 # but the question36 print()37 print(" ...")38 sleep(2)39 print(" what does it say about")40 sleep(1)414243if __name__ == "__main__":44 the_reaching()45