Question #229473

Write a program to print the given input word N times ina single line separated by space.

Expert's answer

word=input("Enter word: ")
N=int(input("Enter N: "))
for _ in range(0,N):
    print(word,end=" ")




Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS