Fixing unscrambling file
I have this file to unscramble pixels in my input file to create the dutch flag in the output file, but for some reason, my output file is still scrambled.
1 Reply
you have a glaring issue in this method
the purpose of that method is to swap the positions of two items in the list
yet, you only ever assign
pixel[index1]
a value
you never assign pixel[index2]
a value