+1 vote
in NumPy by
what is the How to use of == operator ?

1 Answer

0 votes
by

what is the How to use of == operator ?

print(‘\n print 2 is equal to num’,num[num==2]) #print [2]

print(‘\n print 0 is equal to num’,num[num==0]) #print [] because empty 0 is not available

...