human
case sensitive string replacement in Python
assistant
Here is some code to replace a string `Abc` in case sensitive way using maketrans

"""Abc""".translate(maketrans('abcABC', 'defDEF'))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.