x = None

 if  x is not None:
     print("kong")

if  not x is not None:
    print("kong")
# if not XXX就是 =    if XXX ==0
# if XXX 就是= if XXX !=0

暂且只能这么理解 if  x is not None

if  x is not None

相关文章:

  • 2021-06-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-26
  • 2022-12-23
  • 2022-02-18
相关资源
相似解决方案