diff options
Diffstat (limited to 'skipping-work/n1c00o')
| -rw-r--r-- | skipping-work/n1c00o/solutions.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/skipping-work/n1c00o/solutions.py b/skipping-work/n1c00o/solutions.py new file mode 100644 index 0000000..31cda09 --- /dev/null +++ b/skipping-work/n1c00o/solutions.py @@ -0,0 +1,8 @@ +def solution(x, y): + # x and y are two list of integers + for el in x: + if not el in y: + return el + for el in y: + if not el in x: + return el |
