본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 4470번 줄번호

by 현장 2022. 3. 1.

-코드

for i in range(int(input())):
    s = input()
    print(f'{i + 1}. {s}')