Created
August 15, 2019 01:48
-
-
Save anthonygharvey/e88e8f8801dfaad364a2ae0d697f9b10 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 = ['apple', 'orange', 'grape'] | |
list_2 = ['strawberry', 'apple'] | |
combined_list = list_1 | list_2 | |
combined_list #=> ["apple", "orange", "grape", "strawberry"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment