练习题17

# 17、 将"wdnwjfwj we hd 9#sdfekfmew 2011"里的数字取出来相加结果为2020
a ='wdnwjfwj we hd 9#sdfekfmew 2011'
b = a.split(' ')
c = int(b[3][0])+int(b[4])
print(c)

猜你喜欢

转载自www.cnblogs.com/yzhuahai/p/10873748.html