You are viewing a single comment's thread. Return to all comments →
def pageCount(n, p): # Write your code here if p==1 or p==n: return 0 else: if p%2==0: k=p else: k=(p-1) return min(k//2, (n-k)//2)
Seems like cookies are disabled on this browser, please enable them to open this website
Drawing Book
You are viewing a single comment's thread. Return to all comments →