summaryrefslogtreecommitdiff
path: root/progs/a574.py
blob: 9d385a3a81c5f616e4404018935d28968a5c7e2a (plain)
1
2
3
4
5
def count_Num(n): 
    if (n == 1): 
        return 1
    count = pow(2,n - 2) 
    return count