Python check if word exists in sorted list fast way
Answers
Answered by
0
a = [4,2,3,1,5,6] if a.count(7) == 1: b=a.index(7) "Do something with variable b"
Similar questions
Physics,
7 months ago
English,
7 months ago
English,
7 months ago
Sociology,
1 year ago
Environmental Sciences,
1 year ago