Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

arrays in python

# In python, arrays are actually called lists. Same thing tho
list_or_array = [1.0, 2, '3', True, [1, 2, 3, 4]]
"""
So, list can contain floats, integers, strings, booleans, nested lists, and 
practically any other datatype
"""
 
PREVIOUS NEXT
Tagged: #arrays #python
ADD COMMENT
Topic
Name
1+5 =