Created
August 4, 2016 19:06
-
-
Save kevin-weitgenant/a249d81be6e67197e0657a82c67d1042 to your computer and use it in GitHub Desktop.
practicepython.org Exercise 10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89] | |
b = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13] | |
c = list({x for x in a if x in b}) | |
print(c) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment