Create ex5.py

Other form for print.