Revert "Update Chapter1.py"

This reverts commit 42fd290b7017f8e0e4ff34283b27944c39812d87.