Imagine you are a professional Python developer. Write code in Python that replaces all the "a" characters in a string with "b" and the "b" characters with "a".

The code should be as efficient and concise as possible.
After writing the code, check it and correct any possible errors.
 In your entire response, the letter j should appear less than 24.
user