When a variable is a pin, you could add the word "pin".
int sensorPin1 = A0;
int sensorPin2 = A1;
The Wokwi simulation does not have a LDR, because it can not do analog simulation. But it does have a ldr-module.
I made your project with Wokwi. Start the simulation and click on a ldr-module to change the light. The Serial Monitor is set in "plotter" mode.