Try with in
instead of ==
,
array = [1, 2]
one = 1
two = 2
def trying():
if one in array:
print("This Works")
print(trying())
CLICK HERE to find out more related problems solutions.
Try with in
instead of ==
,
array = [1, 2]
one = 1
two = 2
def trying():
if one in array:
print("This Works")
print(trying())
CLICK HERE to find out more related problems solutions.