yanbo long

Generation

generate functionSat, 08 Apr 2023

输入格式是 W1=input() W2=input() 将两个数列的数据相差 然后按升序排列 结果用"[""]"括起来 每个数据之间加","

def list_diff(W1, W2): return sorted(list(set(W1).difference(set(W2))))

Want to kickstart your project?Use the new AI Studio to create your code