Dear student,
If we touch a electric switch with wet hands, current flows through our body to the ground and we would get shock.
But if we wear thick rubber slippers there would be no contact of our body and the ground and it is possible that we won't ge any shock.
Regards