Akhil Narayanan Nair home

Python - Function Boolean

================

def isDivisible(x, y):

if x % y == 0:

return True 

else:

return False 

def main():

a=10

b=5

print(isDivisible(a,b))

main()