Page 1 of 1

3 Create a new 10x10 array of zeros. Using slicing, create a checkerboard pattern of zeros and ones. Expected output: Ou

Posted: Fri May 20, 2022 3:41 pm
by answerhappygod
3 Create A New 10x10 Array Of Zeros Using Slicing Create A Checkerboard Pattern Of Zeros And Ones Expected Output Ou 1
3 Create A New 10x10 Array Of Zeros Using Slicing Create A Checkerboard Pattern Of Zeros And Ones Expected Output Ou 1 (25.61 KiB) Viewed 38 times
3 Create a new 10x10 array of zeros. Using slicing, create a checkerboard pattern of zeros and ones. Expected output: Out[92]: array([[0., 1., O., 1., 9., 1., 2., 1., 9., 1.), [1., O., 1., 2., 1., O., 1., O., 1., 2.), [e., 1., 9., 1., O., 1., O., 1., O., 1.), [1., O., 1., O., 1., O., 1., O., 1., 2.), [0., 1., O., 1., 0., 1., O., 1., O., 1.), [1., O., 1., O., 1., O., 1., O., 1., 2.), [0., 1., 9., 1., O., 1., O., 1., O., 1.), [1., O., 1., O., 1., O., 1., O., 1., 0.), [0., 1., 2., 1., O., 1., O., 1., 2., 1.), [1., O., 1., O., 1., O., 1., O., 1., 0.]])