“re.Add Python” Respostas de código

re.Add Python

import re

text = re.sub(r'(get)', r'\1@', text)
Agreeable Addax

re.Add Python

>>> import re
>>> text = 'Do you get it yet?'
>>> re.sub(r'(get)', r'\1@', text)
'Do you get@ it yet?'
Agreeable Addax

Respostas semelhantes a “re.Add Python”

Perguntas semelhantes a “re.Add Python”

Mais respostas relacionadas para “re.Add Python” em Python

Procure respostas de código populares por idioma

Procurar outros idiomas de código