Bruhnke, Angelica wrote:
> I'm new to python programming so this question will probably be a no
> brainer for the experienced programmer. I'm trying to create a 10x10 array
> of zeros and then framing it with a border of ones.
So the final array is 12x12.
>
> Output should look like this:
>
>
Hi,
I'm new to python programming so this question will probably be a no brainer
for the experienced programmer. I'm trying to create a 10x10 array of zeros and
then framing it with a border of ones.
Output should look like this:
[[ 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.]
[ 1. 0. 0. 0. 0. 0. 0