I was wondering if you could help me write the code for the patterns shown in the picture, I am new at programming and am not sure how to do it, so it would really help me.