We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c72ad2 commit 48230d8Copy full SHA for 48230d8
6 kyu/Array.diff.py
@@ -0,0 +1,9 @@
1
+def array_diff(a, b):
2
+ end = []
3
+ for x in b:
4
+ end = [x for x in a if x not in b]
5
+ print(end)
6
+ if(end == []):
7
+ return(a)
8
+ else:
9
+ return(end)
0 commit comments