Skip to content

Instantly share code, notes, and snippets.

@toniesteves
Created June 15, 2020 03:20
Show Gist options
  • Save toniesteves/672c16ba2961f365193541b816c3b8d3 to your computer and use it in GitHub Desktop.
Save toniesteves/672c16ba2961f365193541b816c3b8d3 to your computer and use it in GitHub Desktop.
def double_and_copy_list_values(items):
new_list = []
for item in items:
new_list.append(item * 2)
return new_list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment