She needs to buy 15 / 3 = <<15/3=5>>5 pizzas.
The pizzas cost 5 * $12 = $<<5*12=60>>60 total.
It will take her $60 / $4 = <<60/4=15>>15 nights worth of babysitting to afford the pizza.
#### 15