I want to inter-loop print, I don't know if that is even a word but let me demonstrate with the code bellow
def primer():
print (greet(), "\n", intro(), "\n" ,origi())
def greet():
return("Hola ")
def intro():
return("Mi nombre es Leon ")
def origi():
return("I am from Guadalajara")
primer()
the output is:
Hola
Mi nombre es Leon
I am from Guadalajara
Desired output.
Hola
Hola
Mi nombre es Leon
Hola
Mi nombre es Leon
I am from Guadalajara
That would be to pirint
greet
greet
intro
greet
intro
origi
Without all the redundancy or as little as possible.