“re.add python” Código de respuesta

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

Respuestas similares a “re.add python”

Preguntas similares a “re.add python”

Más respuestas relacionadas con “re.add python” en Python

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código