Welcome to my Python exercises repository! This collection of exercises focuses on array manipulation and transformation using Python. Each exercise is designed to enhance your skills in handling arrays and performing fundamental operations.
- Create Array: Generate an array using Python.
- Check Dimensions: Use a function to check the dimensions of the array.
- Reshape Array: Reshape the array to explore its structure.
- Non-Duplicated Data: Create a function to obtain non-duplicated elements from the array.
- Transform to List: Convert the non-duplicated data back to a list.
- Statistical Analysis: Obtain the mean and quartiles for the non-duplicated data.
- Add Unit to Each Element: Add a unit to each element of the array.
- Create Diagonal Matrix: Generate a diagonal matrix based on the modified array.
- Equally Divide: Equally divide the diagonal matrix into
nspaces.
Explore each exercise independently to strengthen your Python skills in array manipulation. Code snippets and explanations are provided to aid your understanding. Feel free to modify and experiment with the code for further learning.
-
Clone the repository:
git clone https://github.com/ZubeidaB/python-exercises.git