def is_prime(x):

__n = 2

__while n<x:

____if x%n != 0:

______continue

____elif x%n == 0:

______return False

______break

____n = n+1

__if x%n != 0 and n<x:

____return True

print is_prime(5)

why is the code not showing any output? I have tried its C version, but got the same result. The program doesn’t end as if it fell into an infinite loop.