aa='tt' print(not aa) #表示 bb是空的 not 表示空 bb='' print(not bb) 转载于:https://www.cnblogs.com/gaoyuechen/p/8016627.html