#!/usr/bin/python3 str = " " print (str.isspace()) str = "This is string example....wow!!!" print (str.isspace())
【Linux常用命令速查手册】关注【入门小站】,后台回复 「1001」 自取。