wuwuw

# str = "Auto"
# str02 = "Automatic"
#
# if str in str02:
#     print("yes")
# else:
#     print("no")
#
# name1 = "Jasmine.qian"
# name2 = "jasmine.qian"
# if name1.lower() == name2.lower():
#     print("yes")
# else:
#     print("no")
#

dd = {'path': 'My Data / DS20880808_dataset_default / Gender', 'Female': '505', 'Male': '497', 'Unknow': '17'}

dd2 = str(dd)

print(type(dd))
print(type(dd2))
if dd2.__eq__(dd):
    print("yes")
else:
    print("no")


if dd.__eq__(dd2):
    print("yes")
else:
    print("no")

if dd2 == str(dd):
    print("yes")
else:
    print("no")

  

posted @ 2021-02-19 19:06  巴黎爱工作  阅读(137)  评论(0编辑  收藏  举报