Repeat a Line N Times

Python Easy 6 views
Back to Questions
Next Squares From 1 to N Easy N

Problem Description

Read n and a text line a, output the same line a exactly n times (each on new line).

Input Format

Line1 n. Line2 a (can have spaces).

Output Format

n lines.

Sample Test Case

Input:
3 hello world
Output:
hello world hello world hello world

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Next