개발자 뺚
[BAEKJOON ONLINE JUDGE] 26574번 : Copier 본문
시간 제한 : 1 초
메모리 제한 : 1024 MB
문제
Your copier broke down last week, and you need to copy a list of numbers for a class project due tomorrow! Luckily, you can use your computer to copy the numbers for you. Given a list of numbers, each on their own line, print out the number, a space, and then another copy of the number.
입력
The first line will contain a single integer n that indicates the number of numbers to follow, each on their own line. The next n lines will each contain a single number.
출력
For each of the n lines, print out the original number and a copy of the number, with one space of separation.
n = int(input())
for _ in range(n):
num = input()
print(num, num)
'Solution > Python' 카테고리의 다른 글
[BAEKJOON ONLINE JUDGE] 11651번 : 좌표 정렬하기 2 (0) | 2024.03.25 |
---|---|
[BAEKJOON ONLINE JUDGE] 1237번 : 정ㅋ벅ㅋ (0) | 2024.03.23 |
[BAEKJOON ONLINE JUDGE] 30214번 : An Easy-Peasy Problem (0) | 2024.03.19 |
[BAEKJOON ONLINE JUDGE] 1032번 : 명령 프롬프트 (0) | 2024.03.17 |
[BAEKJOON ONLINE JUDGE] 26575번 : Pups (0) | 2024.03.15 |