Question: 
Write a python function to find the next perfect square greater than a given number.


Model's Code:
def next_Perfect_Square(n):
    import math
    next_sqrt = math.ceil(math.sqrt(n))
    return next_sqrt * next_sqrt



Sample Correct Code:
import math  
def next_Perfect_Square(N): 
    nextN = math.floor(math.sqrt(N)) + 1
    return nextN * nextN 


Asserts:
assert next_Perfect_Square(35) == 36
assert next_Perfect_Square(6) == 9
assert next_Perfect_Square(9) == 16


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: FAIL: AssertionError()

Test 244 of 974: 175/244 (71.72131147540983%): failed