79505075

Date: 2025-03-12 23:25:30
Score: 1
Natty:
Report link

So I had a coffee and found the a solution. This will create the array of values dependant on x and y.

import numpy as np

x = 5
y = 100
inputArray = np.zeros(x)

squares = [list(inputArray+i) for i in range(y)]
values = ','.join([f"{j}" for j in squares]) ```
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: mhooper