How to check whether a list have specific value exist or not?

P

praba kar

Dear All
In Php we can find in_array() function
which function is mainly useful to check
whether a specific value is exist in the array
or not.

But In python In cannot find any function
like that. I want to check a list have specific
value or not. So If any one know regarding this
mail me

with regards
PRabahar


________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,991
Messages
2,570,212
Members
46,800
Latest member
Tobi1987

Latest Threads

Top