String Functions Program In Python Example Code