

name = "Eva"
sex = None

# 普通写法
if name == "Eva":
    sex = "Female"
else:
    sex = "Male"

# 用三元运算来写
sex = "Female" if name == "Eva" else "Male"

['金角大王', 'rain', '@', '黑姑娘', '狗蛋', "4","#",'银角大王', 'eva']

sex.count()