Pediatrics

True statement about ductus arteriosus is: