String Function Program In Python Simple