String Function Program In Python Example Code