Skip to content

Instantly share code, notes, and snippets.

@toniesteves
Last active June 15, 2020 03:26
Show Gist options
  • Save toniesteves/84395d12fb43184d033e8567735571a5 to your computer and use it in GitHub Desktop.
Save toniesteves/84395d12fb43184d033e8567735571a5 to your computer and use it in GitHub Desktop.
def double_list_values(my_list, idx):
my_list[idx] = my_list[idx] * 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment