3Requestdata3判断
检查某个元素是否存在于列表或者字典
animals = ["cat", "dog", "rabbit"]
if "cat" in animals:
print("Cat found")
cat_found = "cat" in animals
1requestData 判断
if aaa:
if aaa:
print()
标签:4.0 neu 判断 字典 cat animal data span convert
3Requestdata3判断
检查某个元素是否存在于列表或者字典
animals = ["cat", "dog", "rabbit"]
if "cat" in animals:
print("Cat found")
cat_found = "cat" in animals
1requestData 判断
if aaa:
if aaa:
print()
3Requestdata3判断 检查某个元素是否存在于列表或者字典
标签:4.0 neu 判断 字典 cat animal data span convert
原文地址:https://www.cnblogs.com/keiweila/p/8213659.html