字符串s = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',输出s的前20个字符
s='ABCDEFGHIJKLMNOPQRSTUVWXYZ' num=1 for ch in s: while num <= 20: print(ch) num=num+1
这代码哪里不对吗?
s='ABCDEFGHIJKLMNOPQRSTUVWXYZ' num=1 for ch in s: while num <= 20: print(ch) num=num+1
这代码哪里不对吗?
2024-03-30
举报