Create 3.py

I am now practicing python from the Zelle book.Some questions from exercises are not present in your repo.If you like I can keep adding and please comment.