String Repetation.

 String Repetation.

    ->write a program to print the given input word n times in single line separated by spaces.

        w=input()

        n=int(input())

        print((w+" ")*n)

Comments