Python subsring replacement

Question:
True or False: To replace each instance of a substring with another string, you use the:

pattern.replace(<old>, <new>)
  1. False
  2. True
Answer:
B - is the correct answer