Beginner snakes that would thrive in a ~30 gal tank

Hello everyone! im planning on getting a snake by the end of spring or summer. Right now I'm just doing research on what would be best for me and the snake. That being said I'm curious what kind of snakes would be best for a beginner snake owner with a 30 gal tank. I was originally thinking ball python, but after some research, I'm kinda leaning away from them. Plus I don't think a snake that size would do well in a 30 gal. Any recommendations?