15_16.py :print the result to redata.txt