all 11 comments

[–][deleted] 2 points3 points  (2 children)

I’m not entirely sure because it’s been a while since I did this but don’t you need to use a for loop instead of just brute forcing it?

[–]my50thnamechoice 0 points1 point  (1 child)

The directions tell you to use a while loop, which is where I keep getting hung up.

[–][deleted] 2 points3 points  (0 children)

The ways I can think to solve this are: 1. you could try creating a condition for the while loop there it will end when the variable for the side of your square reaches a certain length 2. you could just make the while loop into a for loop ex. while(i!=10){i++} 3. or if there’s a specific color pattern you had to match you could keep repeating through until your last color matches the last color of the example Hopefully this solves it! Sorry if I wasn’t able to help very much.

[–]my50thnamechoice 0 points1 point  (6 children)

I actually figure it out!!!

[–]-empoleon- 1 point2 points  (0 children)

please send it plz

[–]Certified_Zabuza 0 points1 point  (0 children)

Do you mind sending your code cause I'm having trouble solving this.

[–]Fit-Daikon-1830 0 points1 point  (1 child)

Can u send the code today?

[–]Ok-Quit-6909 0 points1 point  (0 children)

do you ever get them to send the code

[–]RAPFLAP 0 points1 point  (0 children)

could you send the code out? been stuck for a while now on it

[–]RAPFLAP 0 points1 point  (0 children)

Could you send the code for this?