example

1
2
#syntax
array = []

checking if array is empty

1
2
if len(array) == 0:
    print('yes! array is empty')

output

yes! array is empty

English today is not an art to be mastered it's just a tool to use to get a result