立即学习:https://edu.csdn.net/course/play/26676/338783?utm_source=blogtoedu
‘a'.islower() 判断字符是否是小写
'a'.upper() 将字母改成大写
'A'.lower() 将字母改成小写
str = (1, 2, 3, 4,5,6,7,8,9)
>>> str[1:10:2]
(2, 4, 6, 8)
>>> str[11:-10:-2]
(9, 7, 5, 3, 1)
>>> str[0:4]
(1, 2, 3, 4)
>>> str[3:-10:-1]
(4, 3, 2, 1)