Anacondas give birth to Live babies that can swim and hunt immediately

Thumbnail made using OpenAi
Look at the size of that snake. That's a zone you wouldn't want to be stranded alone.
Today I was thinking about an Anaconda because last night I had a dream and I saw one and one thing startled me because I tried to research about them because I was obviously paranoid from the nightmare.
It turns out they have real live babies not from eggs. They are already moving and ready take to the water and hunt. The mama snake can have as many as 40 babies at once. And once they are born, they are on their own.
I might sound or look ignorant but I thought all snakes lay eggs. That makes me stop to consider how much we take for granted and how things have to be one way when they really aren't. The way we say snakes lay eggs, that's how they do. But Anacondas are in the water, so the eggs would not survive in the water, the body figured out another way. They develop inside the mother so that they come out complete.
I got distracted for a second without a few morning chores and came back to this. This video is what brought me back to it.
https://youtube.com/shorts/qVScBTD-gYQ?si=cAAFg81Zqwk1Stlx
Only about 1% of baby anacondas survive to become adults because many predators hunt them while they are still small and weak.
If you live in an area that would make your typical way not possible, you change your ways around. Not that the animal decided this, but rather evolution happened over a long period of time. 40 babies at once, all swimming the first moment. There's no learning curve, no time to adjust. Just jump into the deep end.
I have no idea what I was expecting to read today, but not this. It's almost rational and I can't stop thinking about it. The water is there, if I lay eggs, they'll drown, so the body holds them instead. It's almost as if mother nature does its own experiments on what the best possible design it needs to keep a species in existence.
https://www.reddit.com/r/badassanimals/comments/1r81l17/big_badass_anaconda/
This post has been shared on Reddit by @princessluv through the HivePosh initiative.