add Python print snippet