Files
Gainsight/Scripts/dict_test.py

9 lines
186 B
Python

test_list = [
{"row_num":0, "name":"hello"},
{"row_num":1, "name":"goodbye"}
]
if "goodbye" in test_list[0].values():
print("It Exists!")
else:
print("it doesn't exist")