|
2575| 10
|
零基础Python 020 动动手 1 我的方法为什么不行 |
|
8鱼币
最佳答案因为你的第2个a的n=temp.find(a)去的值是第一个a的值,也就是3所以可以输出
请输入字符串:DDDaDDDbDDDc
abTraceback (most recent call last):
File "F:\py3.5\1.py", line 4, in
if i.islower() and n > 3 and temp[n-1].isupper() and temp [n-2].isupper() and temp [n-3].isupper() and (not temp[n-4].isupper()) and temp[n+1].isupper() and temp[n+2].isupper() and temp[n+3].isupper() and (not temp[n+4] ...
| ||
|
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
|
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
|
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
|
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
|
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
|
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
|
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
|
小甲鱼最新课程 -> https://ilovefishc.com
|
||
小黑屋|手机版|Archiver|鱼C工作室
( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)
GMT+8, 2026-2-24 05:18
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.