Creado por Rebecca Noel
hace casi 8 años
|
||
T/F?: A list is mutable, meaning the elements inside can be changed.
A list is constructed by...
What is the difference between the len() function with lists vs. strings?
T/F?: You can concatenate lists like with strings.
T/F?: When you concatenate a list that permanently changes the list.
What are two major reasons lists in Python are more flexible than arrays in other languages?
What is the default indexed item in the pop() method?
l.pop()
Can you index something that doesn't have an item in the list?
What does nesting mean with Python lists?
T/F?: We use several sets of brackets to narrow down the item within the list within the list.
What does Python's advanced feature called list comprehensions allow?
Jupyter Notebook: When typing you can hit tab to...
Jupyter Notebook: After typing in method you can shift + tab to ...