Instagram collage challenge

I m a beginner , can we get some help in solving this challenge named Instagram collage challenge in quickstart module.

Hey @aakashsharma845, hope you have all images with you loaded and are of size (200,200,3) and center image as size of (100,100,3).

Now further approach like this,
ans = np.zeros((430,430,3)), ( zero stands for black colour, so we have made black canvas by this time)
ans[10:210, 10:210] = top_left[:,:]
Add three lines for the rest 3 images.

Now comes the turn of center image, for this again you have to make two things, make the black canvas again, now the size of this canvas will be 120,120,3.
So first you need to use slicing to add black canvas and than you need to add the center image. Use pen and paper to get the slicing indices.

Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section. :blush:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.