<filename>e.py
x=int (input("enter the no"))
string=raw_input("enter a word")
def explode(string,x):
    for x in range(0,x):
        print string
explode(string,x)

<filename>e.py
x=int (input("enter the no"))
string=raw_input("enter a word")
def explode(string,x):
    for x in range(0,x):
        print string
explode(string,x)
