Created
June 15, 2020 03:20
-
-
Save toniesteves/672c16ba2961f365193541b816c3b8d3 to your computer and use it in GitHub Desktop.
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
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