challenge.py
basic-checks.md
Python
Basic checks: sign, zero, empty, null
Difficulty 2/3
1
def
page(items, page_no, page_size):
2
start = page_no * page_size -
1
# pages are numbered from 1
3
return
items[start:start + page_size]