지나가던 개발자
[Python] 백준 11721번(열 개씩 끊어 출력하기) 문제 풀이 본문
w = input()
for i in range(len(w)//10+1):
    for j in range(i*10, (i+1)*10):
        try:
            print(w[j], end="")
        except:
            break
    print("")'PS > Python' 카테고리의 다른 글
| [Python] 백준 12871번(무한 문자열) 문제 풀이 (0) | 2022.11.06 | 
|---|---|
| [Python] 백준 11008번(복붙의 달인) 문제 풀이 (0) | 2022.11.06 | 
| [Python] 백준 10826번(피보나치 수 4) 문제 풀이 (0) | 2022.11.04 | 
| [Python] 백준 4821번(페이지 세기) 문제 풀이 (0) | 2022.11.03 | 
| [Python] 백준 8892번(팰린드롬) 문제 풀이 (0) | 2022.11.02 | 
			  Comments
			
		
	
               
           
					
					
					
					
					
					
				
 
								 
								 
								