Okay, so I'm in a beginner programming class and I really have no idea what I'm doing. So, if someone could help me with this code, I would be forever grateful.
So basically, what's supposed to happen is that it starts out with a photograph of a face, and when you press a number on the keyboard (from 1-6), a piece of the face will be replaced by another persons face. So basically all I need to know is how to get the images that are right now called "1/1.jpg" "2/1.jpg" etc, to select a random image from the specified folder. The folders are just labeled 1 - 6, and I can give the pictures different names if necessary. Yeah, so here's the code I have right now: