hearts.py