C Program Using String Functions In Python