摘要: 找不同字符串 t 由字符串 s 随机重排,然后在随机位置添加一个字母。 请找出在 t 中被添加的字母。 def func(s, t): num1 = 0 num2 = 0 for i in s: num1+= ord(i) for j in t: num2 += ord(j) return chr( 阅读全文
posted @ 2019-11-27 22:37 海澜时见鲸 阅读(120) 评论(0) 推荐(0)