# first method my_array = [1, 3, 4] my_array.size() # 3 # second method len(my_array) # 3, but it's can be used with more variable types like a string