Guest User

Untitled

a guest
Dec 11th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. while i != len(a):
  2. if a[i] < b[j]:
  3. i += 1
  4. elif a[i] >= b[j]:
  5. while j != len(b):
  6. if a[i] == b[j]:
  7. c.append(a[i])
  8. i += 1
  9. break
  10. else:
  11. j += 1
  12. else:
  13. i += 1
  14. j = 0
  15. return c
Add Comment
Please, Sign In to add comment