import numpy as np
shape = (2,5)
# start coding here...
a =
print(a)
# expected output: [[0. 0. 0. 0. 0.][1. 1. 1. 1. 1.]]
Python
Setting up Python environment...
Output
import numpy as np
shape = (2,5)
# start coding here...
a =
print(a)
# expected output: [[0. 0. 0. 0. 0.][1. 1. 1. 1. 1.]]
Setting up Python environment...