관리 메뉴

솜씨좋은장씨

[BaekJoon] 26574번 : Copier (Python) 본문

Programming/코딩 1일 1문제

[BaekJoon] 26574번 : Copier (Python)

솜씨좋은장씨 2022. 12. 27. 12:17
728x90
반응형

코딩 1일 1문제! 오늘의 문제는 백준의 Copier 입니다.

 

26574번: Copier

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 t

www.acmicpc.net

👨🏻‍💻 코드 ( Solution )

def copier(number_list):
    for number in number_list:
        print(f"{number} {number}")
        
        
if __name__ == "__main__":
    number_list = []
    
    for _ in range(int(input())):
        number_list.append(int(input()))
        
    copier(number_list=number_list)
 

GitHub - SOMJANG/CODINGTEST_PRACTICE: 1일 1문제 since 2020.02.07

1일 1문제 since 2020.02.07. Contribute to SOMJANG/CODINGTEST_PRACTICE development by creating an account on GitHub.

github.com

Comments