Use log instead of print