It's hard to tell by the photos but they both look male to me. See if you can get some better pics of the underside of the snakes. Maybe you could put them in a clear container and then take a pic of the underside.