Exercise

# Predicting result of broadcasting

Binary arithmetic operations between two arrays are possible only when their shapes are *compatible*. Being compatible means either that the two arrays have identical `.shape`

attributes *or* that their shapes satisfy certain rules. The *rules for broadcasting* in NumPy are summarized in the documentation.

Here, the NumPy arrays `a`

, `b`

, `c`

, and `d`

are provided for you.
They differ in shape, number of dimensions, or in the extent of each dimension.
Which of the possible sums listed below yields an array with shape `(10,10)`

?

Instructions

**50 XP**

##### Possible Answers

- a + d
- d + b
- c + d
- b + a