pract9-1.py Done