By using numpy zeros and ones functions (except for the center number), create a matrix. Hint: use slice syntax | Sololearn: Learn to code for FREE!
0

By using numpy zeros and ones functions (except for the center number), create a matrix. Hint: use slice syntax

It should be like a circle for example a circle made of onces and then inside it a circle made of zeros then inside it another circle of onces till the center made of one number that can be any number

27th May 2020, 11:49 PM
Mohammed Aidaros Ali Al-Sharif
Mohammed Aidaros Ali Al-Sharif - avatar
1 Odpowiedź
0
Please note that this is the discussion section, not a challenge section
28th May 2020, 2:31 AM
Bot
Bot - avatar