I posted it for my dad so sorry for not much info he wants to connect 4 12v 12ah lead acid batteries to make 36v 24 ah
It sounds as though your Dad is not an electrician, and attempting to do what you posted, would most likely cause a major fire.
For 36 volts, you need either 3 batteries in series = 36 volts at 12 ah, or 6 in series/parallel, for 36 volts at 25ah.
But you cannot achieve it with all 4 batteries.
But, I do not recommend doing anything at all as it could cause a major accident.
Even if he did it, will he build/buy a 36 volt lead acid battery charger....? The ones for e-bikes are for Li-ion, not for Lead Acid batteries......not nowadays at any rate....
If its for an e-bike, it will have a very short range, and a clump of heavy batteries to carry around somehow.
Best idea = don't even try to do it!! The result will be nowhere near as good as a quality Li-ion battery, at 36 volts, with the correct type of charger, and he will get reasonable range.....
Best wishes
Andy