31. Ignore NumPy Warnings

Easy

Compute and return np.ones(n) / 0:

  • suppress all numpy floating-point errors while you do it
  • every element of the result is inf

Input

1

Output

[inf]
Implement solve(...)