Let's start with a friend's experience. She didn't drop out of school when she was pregnant in her junior year. She took a substitute class and insisted on studying. After giving birth, she graduated smoothly.
I've experienced it myself. When I finished my internship in my senior year, I found myself pregnant in June+February, 5438. Later, I went home and told my parents that I decided to give birth to a baby. So I didn't go out to work again, but stayed at home to have children. I finished my thesis at home and went back to school to defend it in April. At that time, I was pregnant in May, and my stomach couldn't tell. I went back to school in June to shoot graduation photo, got my diploma, and gave birth to a baby at the end of August. After giving birth, you will find it more difficult to take care of other things. Finish your studies before you have children.