Dupstring

View as PDF

Submit solution


Points: 5 (partial)
Time limit: 1.0s
Memory limit: 32M

Author:
Problem type
Allowed languages
Python

Write a program that copies a string for n times.

Input Specification

2 lines. The first line is the string to be copied. The second line denotes the number of copies.

Output Specification

One line of n copies of the specified string.

Sample Input

ok
5

Sample Output

okokokokok

Hint

string multiply


Comments