What snakes have live babies and what snakes lay eggs?
The generic answer is that Boas give live birth and Pythons lay eggs. It gets more complicated than that because some Boas actually lay eggs:
Both of those are classified by the scientific community as boas and they both lay eggs. There are also various other species of snakes that cross the boundaries and have live births when they're "supposed to" lay eggs and vice-versa.