summaryrefslogtreecommitdiff
path: root/progs/a180.py
blob: ea41d52b0b67bf8e5fde6ae9b47107a45ea4c7f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import math 
def count_Divisors(n) : 
    count = 0
    for i in range(1, (int)(math.sqrt(n)) + 2) : 
        if (n % i == 0) : 
            if( n // i == i) : 
                count = count + 1
            else : 
                count = count + 2
    if (count % 2 == 0) : 
        return ("Even") 
    else : 
        return ("Odd")