finished string1.py