The data is represented as strings, not numbers. The u
simply means that it's an unicode string. Try this:
'3' in [u'1', u'3', u'12']
=> True
As you can see, I'm treating the number 3
as a string '3'
. Alternatively, you can convert the input list of strings into a list of integers:
networkx_lista = [u'1', u'3', u'12']
networkx_lista = [int(x) for x in networkx_lista]
Now you can directly search for integer values in the list:
3 in networkx_lista
=> True