关于零基础学习python中20讲动动手1的更简单写法
#找一个字符串中隐藏的小写字母密码zfc2 = ''''''
length = len(zfc2)
for i in range(length):
if zfc2.islower():
if zfc2.isupper()\
and zfc2.isupper()\
and zfc2.isupper()\
and zfc2.isupper()\
and zfc2.isupper()\
and zfc2.isupper()\
and zfc2.islower()\
and zfc2.islower():
print(zfc2, i)
else:
continue
请大佬指教
页:
[1]