Loading…
Use re.sub() to replace every digit in abc123xyz with '#' and print the result.
Expected output: abc###xyz
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.