Python Program to Find the Square Root

import math
total_prime=0
total_composite=0
while(1):
n=int(input("Enter the number :")
if(n==999):
break
elif n<0:
print("Square root of a negative number can't be calculate !")
continue
else:
print("Square root of this number is :", math.sqrt(n))