In Python 2 print
is a statement, not a function. Try this instead:
echo "Hello Holly." | python -c "import sys; print [line for line in sys.stdin]"
Alternatively, you could use the following to just print plain text (thanks @mgilson):
echo "Hello Holly." | python -c "import sys; print ' '.join([line for line in sys.stdin])"