How to create matrix using for loop? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to create matrix using for loop?

I want reply asap

18th Jul 2019, 12:32 PM
Meet Patel
Meet Patel - avatar
2 Answers
+ 9
Use nested for loop, where there are i and j, i stads for rows of your matrix and j stands for columns of your matrix
18th Jul 2019, 1:23 PM
Zhenis Otarbay
Zhenis Otarbay - avatar
18th Jul 2019, 1:27 PM
Zhenis Otarbay
Zhenis Otarbay - avatar