questions1&2

changes in print function