Skip to content

Instantly share code, notes, and snippets.

@wulymammoth
Created October 1, 2018 16:07
Show Gist options
  • Select an option

  • Save wulymammoth/22503aa43ea1112eb03eb786e32f709a to your computer and use it in GitHub Desktop.

Select an option

Save wulymammoth/22503aa43ea1112eb03eb786e32f709a to your computer and use it in GitHub Desktop.
daily technical problem 00
#0: Given an input, accounts, write a function to produce the given output. Feel free to ask questions
accounts = [
["John", "[email protected]", "[email protected]"],
["John", "[email protected]"],
["John", "[email protected]", "[email protected]"],
["Mary", "[email protected]"]
]
Output: [
["John", '[email protected]', '[email protected]', '[email protected]'],
["John", "[email protected]"],
["Mary", "[email protected]"]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment