Created
January 23, 2024 10:16
-
-
Save jgs03177/1ce03aa742adf4d0031ee810b139e1d1 to your computer and use it in GitHub Desktop.
Understanding python list
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
a = [] | |
a.append(a) | |
while len(a) >= 1: | |
print(a) | |
a = a[0] | |
import copy | |
b = copy.deepcopy(a) | |
print(b) | |
import numpy as np | |
c = np.array(a) | |
print(c) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment