Python 統計自己微信好友男女數量及比例

先發代碼 import itchat itchat.login() friends = itchat.get_friends(update=True)[:] total = len(friends) - 1 man = women = other = 0 for friend in friends[0:]:     sex = friend["Sex"]     if sex == 1:     
相關文章
相關標籤/搜索