Posts

Showing posts with the label Repeat the same string n times separated by spaces

Repeat the same string n times separated by spaces

  Repeat the same string n times separated by spaces      s=input()      n=int(input())      print((s+" ")*n)