words = input()
wordlen = len(words)
if(wordlen > 100 or wordlen < 1):
raise ValueError('error')
printable = (wordlen // 10)
for i in range(printable):
print(words[i * 10:10 * (i + 1)])
print(words[(printable) * 10 : (printable + 1) * 10])
'# 코딩 문제 관련 > 파이썬' 카테고리의 다른 글
Baekjoon 9498번(python) (0) | 2019.04.27 |
---|---|
Baekjoon 15552번(python) (0) | 2019.04.27 |
Baekjoon 11720번(python) (0) | 2019.04.25 |
Baekjoon 8393번(python) (0) | 2019.04.25 |
Baekjoon 1924번(python) (0) | 2019.04.25 |