if str1.replace('*', '') == '': return True这行是不是如果str1=*,str2为空,也可以返回true的意思
点赞

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务