Find the syntax error(s) if any:
[2,3,4,5,6]=x
y [2,6,4,7,9}
for in range(0,5)
x[i]=i
z[i]=i+3
y==z
x=y
print(x[i])
print(z[i]
Answers
Answered by
2
Explanation:
In [1]: L = range(1000) ... len(a). 4. 2-D, 3-D, …: >>> >>> b = np.array([[0, 1, 2], [3, 4, 5]]) # 2 x 3 array. >>> b ... a. array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]). >>> b = np.arange(1, 9, 2) # start, end (exclusive), ... extract_from_a = a[mask] # or, a[a%3==0].
Similar questions