Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite0
Can anyone please explain why this exception has been occured?
1 Réponse
+ 2
You're passing two individual arrays to the parameter b. Encapsulate them in another set of square brackets like this:
([[5, 6], [7, 8]])
This will make it a 2D array.