x=[]y=nonenot x is none 为什么返回truenot y is none 为什么也是返回true
1️⃣因为x=[]表示x是一个空列表也就是none not x 也就是 非空 也就是true2️⃣y=nonenot y 也就是非空 返回也是true
希望对题主有所帮助!可以的话,帮忙点个采纳!