students = [
    {"name": "zhangsan"},
    {"name": "lisi"}
]

find_name = "lisi4"

for std_dict in students:
    print(std_dict)
    if std_dict["name"] == find_name:
        print("找到了%s" % find_name)
        break
else:
    print("找不到%s" % find_name)