第40867题 单选题
执行下面 Python 代码,输入 1a2b3c4,输出的结果是?( )
s = input("请输入字符串:")
count = 0
for i in range(len(s) - 1):
    if s[i].isdigit() and s[i + 1].isalpha():
        count += 1
print(count)
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
知识点:
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析