udpiler

Repetir texto

Escribe una función `repetir_texto(texto, n)` que reciba un string y un entero n, y retorne el texto repetido n veces. Ejemplos: >>> repetir_texto('py', 3) 'pypypy' >>> repetir_texto('hola', 1) 'hola'

Escribe tu solución

Volver a la lista

Plantilla de referencia

def repetir_texto(texto, n): """Retorna el texto repetido n veces""" # Escribe tu solución aquí pass