Concatenate Two Lists

Python Easy 3 views
Back to Questions

Problem Description

Read two lists A and B. Output concatenated list A followed by B.

Input Format

Line1 n. Line2 n ints. Line3 m. Line4 m ints.

Output Format

One line concatenated.

Sample Test Case

Input:
3 1 2 3 2 9 8
Output:
1 2 3 9 8

Constraints

n+m

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next