🚀 LEVEL UP TO SENIOR:Unlock 500+ Advanced Practical Challenges & Exercises.
🎓 COURSERA PARTNER:Earn professional Google, Meta, and IBM certificates to supercharge your resume.

Project 25: Message Totals Calculator

Data Engineer

Builds on these lessons

Current Task

Objective

Arithmetic operators (or their ufunc equivalents like np.add) on two arrays of the same shape apply element-wise automatically.

Task: add a sent array and a received array element-wise and print the totals.

index.py
import numpy as np sent = np.array([12, 5, 8]) received = np.array([10, 7, 6]) totals = np.add(sent, received) print(totals)

* Hint: Correct characters turn green, incorrect ones turn red.

Live Preview
🖼️

Verify your code to see the preview