Repeat the same string n times separated by spaces Get link Facebook X Pinterest Email Other Apps March 28, 2022 Repeat the same string n times separated by spaces s=input() n=int(input()) print((s+" ")*n) Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment