问题描述:
Write a python function to find the next perfect square greater than a given number.

测试用例:
['assert next_Perfect_Square(35) == 36', 'assert next_Perfect_Square(6) == 9', 'assert next_Perfect_Square(9) == 16']

生成的代码:
def next_Perfect_Square(n):
    import math
    next_square_root = math.ceil(math.sqrt(n))
    return (next_square_root + 1) ** 2

# Test cases
assert next_Perfect_Square(35) == 36
assert next_Perfect_Square(6) == 9
assert next_Perfect_Square(9) == 16