Conversation

Does anyone know how to replace text in a string (Python) that is only between ( ) ? Example: this is a string (replace the n here) output: this is a string (replace the p here) (turn the n into a p)
7
3
This Tweet was deleted by the Tweet author. Learn more