Python Tips
python3 -m http.server -p 3000# Create a list
my_list = [1, 2, 3, 4, 5]
# Use dir() to see available methods and attributes for the list
print(dir(my_list))Last updated
python3 -m http.server -p 3000# Create a list
my_list = [1, 2, 3, 4, 5]
# Use dir() to see available methods and attributes for the list
print(dir(my_list))Last updated