4 odpowiedzi
+ 1
You can code it like this:
word = input()
number = int(input())
print(word*number)
+ 1
Review the lesson on String Operations where it shows how to do string multiplication.
0
Since the request language is Python, loop is not needed. Multiplication can do the work, there should be instruction in the Python course.