- 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 36 times
3 Create a new 10x10 array of zeros. Using slicing, create a checkerboard pattern of zeros and ones. Expected output: Ou
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
3 Create a new 10x10 array of zeros. Using slicing, create a checkerboard pattern of zeros and ones. Expected output: Ou
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.]])