请问老师这个程序打印后16个字母,程序不出打印结果,运行还是正确的,错在哪里?谢谢
# Enter a code
s='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
num=0
while num<=25:
if num<=9:
num=num+1
break
print(s[num])
num=num+1
# Enter a code
s='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
num=0
while num<=25:
if num<=9:
num=num+1
break
print(s[num])
num=num+1
2020-09-07
举报