Write a statement that assigns the length of an array named strAddressBook to a variable named
intAddressCount.
intAddressCount = strAddressBook.length;
To assign the length of an array named `strAddressBook` to a variable named `intAddressCount`, you can use the following statement:
```python
intAddressCount = len(strAddressBook)
```
Explanation:
In Python, the `len()` function returns the number of elements in an iterable, such as a list or an array. By passing the array `strAddressBook` as an argument to `len()`, we can obtain the length of the array. This length is then assigned to the variable `intAddressCount` using the assignment operator `=`. After executing this statement, the variable `intAddressCount` will hold the length of the `strAddressBook` array.