Advertisement
Guest User

Untitled

a guest
Oct 21st, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. m = [1, 2, 3]
  2. n = [4, 5, 6]
  3.  
  4. def join_lists (x, y):
  5. result = x + y
  6. return result
  7. print join_lists(m, n)
  8. # You want this to print [1, 2, 3, 4, 5, 6]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement