ADVERTISEMENT
返回
  • 浏览过的版块

1
ADVERTISEMENT
Huaren
等级上士
威望1
贴子1459
魅力2282
注册时间2004-02-09

banchui

查看全部

作为一个选了哈哈姐的,还是觉得民主党确实应该反思一些东西

8045

69

2024-11-08 20:53:43

briel 发表于 2024-11-08 19:53

总结下楼主清奇的思路:

def classify_person(attributes):

criteria = {"gay", "yellow", "black", "women", "educated", "immigrant"}

if any(attr in criteria for attr in attributes):

return "Harris"

else:

return "You are garbage"


初始化编辑器...

到底了