News

You may notice something strange here: in order to add a new third question, we are using the index 2. The reason for this seeming lunacy, is that list indexes always start at 0.
For instance, if we wanted to take x1 and use np.add to sum the array, we could use the .add method np.add.accumulate(x1) instead of looping over each element in the array to create a sum.
To really get a handle on how to add to a dictionary in Python, how to store data in other ways, and how to do much more, you should consider taking an online course. There is a huge amount to ...