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

Project 3: Recipe Ingredient Array

Data Engineer

Builds on these lessons

Current Task

Objective

np.array() converts a Python list (or list of lists) into a NumPy array, NumPy's core data structure.

Task: create an array of ingredient names, then print the array and its type.

index.py
import numpy as np ingredients = np.array(['flour', 'sugar', 'eggs']) print(ingredients) print(type(ingredients))

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

Live Preview
🖼️

Verify your code to see the preview