+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

Related questions

+1 vote
asked Jul 9, 2021 in NumPy by rajeshsharma
+1 vote
+2 votes
asked Jul 3, 2021 in NumPy by sharadyadav1986
...