Answer to Question #229473 in Python for Mani

Question #229473
Write a program to print the given input word N times ina single line separated by space.
1
Expert's answer
2021-08-25T05:46:56-0400
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS