Created
August 15, 2019 01:49
-
-
Save anthonygharvey/7c5069890700ece7ce38ef4e8bcc8f74 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_1 - list_2 | |
list_1_difference #=> ["a", "b"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment