Skip to content

Instantly share code, notes, and snippets.

@TheMuellenator
Last active January 13, 2024 02:30
Show Gist options
  • Save TheMuellenator/2adad8377efd023d7c6e01537d8143f6 to your computer and use it in GitHub Desktop.
Save TheMuellenator/2adad8377efd023d7c6e01537d8143f6 to your computer and use it in GitHub Desktop.
Python Functions Coding Exercise - Part 3 Solution
# 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
@Lexeuz
Copy link

Lexeuz commented Dec 11, 2022

My solution:
def concatenate_lists(list_a, list_b): return list_a + list_b

@gf-solutions
Copy link

def concatenate_lists(list_1,list_2):
return list_1 + list_2

@dprobity
Copy link

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