Skip to content

Instantly share code, notes, and snippets.

@thetongs
Created January 20, 2022 12:54
Show Gist options
  • Save thetongs/6236d4bfc02d765f86bb4eb0b906d9cd to your computer and use it in GitHub Desktop.
Save thetongs/6236d4bfc02d765f86bb4eb0b906d9cd to your computer and use it in GitHub Desktop.
## List
#
var_list = [1, 'Hi', 3.6, 12345678976543]
print(var_list)
print(type(var_list))
# [1, 'Hi', 3.6, 12345678976543]
# <class 'list'>
var_list[0] = 2
print(var_list)
# [2, 'Hi', 3.6, 12345678976543]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment