```{.python}erl}
class Notice_board:
def monitor(self, box):
print("총 페이지 수는 %s개 입니다"% box)
def init(self, post, pagecapa):
div = post / pagecapa
box = 0
if div == 0: pass mok = post// pagecapa
box = 0elif div < 1post%pagecapa == 0: box = 1div
else :
box =elif post > pagecapa and pagecapa == 1: box = post
elif post%pagecapa != 0 and post //> pagecapa
box += 1: box=mok + 1
else: box = mok + 1
return int(box)
def input_information():
post = int(input("게시물은 몇개?: "))
pagecapa = int(input("페이지수는 몇?: "))
gmk = Notice_board()
box = gmk.init(post, pagecapa)
gmk.monitor(box)
if __name__ == "__main__":
input_information()
```
```{.python}erl}
class Notice_board:
def monitor(self, box):
print("총 페이지 수는 %s개 입니다"% box)
def init(self, post, pagecapa):
div = post / pagecapa
box = 0
if div == 0: pass mok = post// pagecapa
box = 0elif div < 1post%pagecapa == 0: box = 1div
else :
box =elif post > pagecapa and pagecapa == 1: box = post
elif post%pagecapa != 0 and post //> pagecapa
box += 1: box=mok + 1
else: box = mok + 1
return int(box)
def input_information():
post = int(input("게시물은 몇개?: "))
pagecapa = int(input("페이지수는 몇?: "))
gmk = Notice_board()
box = gmk.init(post, pagecapa)
gmk.monitor(box)
if __name__ == "__main__":
input_information()
```