+1 vote
in NumPy by
print value who divide by 2 and remain is 0.

1 Answer

0 votes
by
print value who divide by 2 and remain is 0.

print(‘\n divided by 2 ‘,num[num%2==0]) #2,4,6,8,10

Related questions

+2 votes
asked Jul 4, 2021 in NumPy by sharadyadav1986
0 votes
asked May 16, 2020 in Python by AdilsonLima
...