print(case_sensitive_replace('abc Abc aBc abC ABC', 'abc', 'de'))
print(case_sensitive_replace('abc Abc aBc abC ABC', 'abc', 'def'))
print(case_sensitive_replace('abc Abc aBc abC ABC', 'abc', 'defg'))
case sensitive string replacement in Python