第一题
s = 'AbcDeFGhIJ'
count = 0G
for x in s:
if(x.islower()):
count = count + 1
print("小写字母个数{}".format(count))
第二题p
s = "Life is short. I use python"
s = s.split(' ')
for x in s:
if(x == 'python'):
print('Python')
else:
print(x,end=" ")