Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

if it is square python

def is_square(n):
    for i in range(n):
        print(i)
        if i*i == n:
            return True
        else:
            continue
print(is_square(4))
 
PREVIOUS NEXT
Tagged: #square #python
ADD COMMENT
Topic
Name
1+6 =