Answer the question
In order to leave comments, you need to log in
How to make if reread the entire array?
The essence of the question is to check the array not through for
Example:
As it should be
massiv = [10,20,30,40]
if(40 == massiv):
print('work')
massiv = [10,20,30,40]
for i in massiv:
if(i == 40):
print('work')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question