Categories
Technology Reviews

The Woman Who Cried Milk: A Short Story Told in Python

# The Woman Who Cried Milk with open(fridge, by=sarah): sarah.smells(milk) assert milk.best_before <= datetime.now() milk.age == time(days=2) if time and again: food = sarah.select() and food is not milk with sarah.make_note(type=’mental’) as grocery_list: if sarah in grocery_store: cart.add(milk) cart.add(milk) if milk.fat_content > 0.03 if sarah in os.HOME: try: milk.discard() if milk.best_before > datetime.now() import milk […]