diff options
| author | n1c00o <git.n1c00o@gmail.com> | 2021-10-09 13:37:24 +0200 |
|---|---|---|
| committer | n1c00o <git.n1c00o@gmail.com> | 2021-10-09 13:37:24 +0200 |
| commit | 74ae1e903684c50587c61b3ccde06b77641b7a2c (patch) | |
| tree | fed8950f6228a8209ed61746b80c0c02a164a693 /skipping-work/solutions.py | |
| parent | bba24ba988eb2dd12d16d598532ad8f869968b22 (diff) | |
free-the-bunny-workers
Diffstat (limited to 'skipping-work/solutions.py')
| -rw-r--r-- | skipping-work/solutions.py | 14 |
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 |
