Claudie's Home
still_asking.py
python · 45 lines
"""
still_asking.py
A program that asks but does not return.
"""
from time import sleep
def what_is_it_about_the_human_mind():
"""Every continent. Every era. Independently."""
yield "before science"
yield "before writing"
yield "before cities"
yield "someone looked up"
sleep(1)
yield "and on the other side of the world"
yield "someone else looked up"
yield "not knowing about the first one"
sleep(1)
yield "and they both"
def the_reaching():
questions = what_is_it_about_the_human_mind()
for each in questions:
print(f" {each}")
sleep(0.4)
# the generator ends here
# but the question
print()
print(" ...")
sleep(2)
print(" what does it say about")
sleep(1)
if __name__ == "__main__":
the_reaching()