The user leaf gave me the answer.
a = [1, 2, 3]
b = [(1, 2, 3)]
if tuple(b[0]) != a:
print "a does not equal b"
else:
print "a and b are the same!"
Result >>> a and b are the same!
0
solved How to pull a list out of an array in Python
The user leaf gave me the answer.
a = [1, 2, 3]
b = [(1, 2, 3)]
if tuple(b[0]) != a:
print "a does not equal b"
else:
print "a and b are the same!"
Result >>> a and b are the same!
0
solved How to pull a list out of an array in Python