summaryrefslogtreecommitdiff
path: root/progs/a45.py
blob: ec3200bff4ea62126912a1ae63eed634a96634c3 (plain)
1
2
3
4
5
def No_of_cubes(N,K):
    No = 0
    No = (N - K + 1)
    No = pow(No, 3)
    return No