Pediatrics

True statement about ductus aeriosus is: