解题思路:
注意事项:
参考代码:
a=input()
b=[]
for i in a:
if i>='a' and i<'z'or i>='A' and i<'Z':
c = ord(i) + 1
d = chr(c)
b.append(d)
elif i=='z':
b.append('a')
elif i=='Z':
b.append('A')
else:
b.append(i)
for l in b:
print(l,end='')
0.0分
0 人评分
C语言程序设计教程(第三版)课后习题9.3 (Java代码)浏览:966 |
简单的a+b (C++语言代码)浏览:859 |
字符串问题 (C语言代码)浏览:1519 |
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码)浏览:647 |
1011题解浏览:765 |
C语言程序设计教程(第三版)课后习题4.9 (C语言代码)浏览:561 |
C语言程序设计教程(第三版)课后习题5.7 (C语言代码)浏览:547 |
C语言程序设计教程(第三版)课后习题5.6 (C语言代码)浏览:562 |
GC的苦恼 (C语言代码)浏览:621 |
剪刀石头布 (C语言代码)浏览:1436 |