Update pract9-1.py