Google foo.bar游戏,本地测试正常,在游戏上提交了几次都测试失败了,代码如下,请大家帮我看看。
def answer(x, y): # your code here a=0 while True: if a==len(x): a=0 while True: if y[a] in x: a=a+1 else: print(y[a]) return elif x[a] in y: a=a+1 else: prin(x[a]) return #只有一个两个列表中一个不含另一个的值,输出的是一个值
