Created
August 15, 2019 01:50
-
-
Save anthonygharvey/6d5286e987d4c43d50cc922826f40755 to your computer and use it in GitHub Desktop.
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
list_1 = ['a', 'b', 'c'] | |
list_2 = ['c', 'd', 'e'] | |
list_1_difference = list_2 - list_1 | |
list_1_difference #=> ["d", "e"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment