String Function Program In Python Example