summaryrefslogtreecommitdiff
path: root/skipping-work/solutions.py
diff options
context:
space:
mode:
Diffstat (limited to 'skipping-work/solutions.py')
-rw-r--r--skipping-work/solutions.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/skipping-work/solutions.py b/skipping-work/solutions.py
index 85d7c47..31cda09 100644
--- a/skipping-work/solutions.py
+++ b/skipping-work/solutions.py
@@ -1,10 +1,8 @@
-def​ ​solution(x,​ ​y):
-​ ​​ ​​ ​​ ​# x and y are two list of integers
+def solution(x, y):
+ # x and y are two list of integers
for el in x:
- if not el in y:
- return el
+ if not el in y:
+ return el
for el in y:
- if not el in x:
- return el
-
-
+ if not el in x:
+ return el