Last active
January 13, 2024 02:30
-
-
Save TheMuellenator/2adad8377efd023d7c6e01537d8143f6 to your computer and use it in GitHub Desktop.
Python Functions Coding Exercise - Part 3 Solution
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
# TODO: Write a function called concatenate_lists that has two parameters and returns the combined list. | |
def concatenate_lists(first_list, second_list): | |
result = first_list + second_list | |
return result |
def concatenate_lists(list_1,list_2):
return list_1 + list_2
exaclty_my _soution:
def concatenate_lists(a,b):
return a + b
concatenate_lists([1.2],[4,5])
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My solution:
def concatenate_lists(list_a, list_b): return list_a + list_b