White House press secretary Sarah Huckabee Sanders said Wednesday that raising her children has helped prepare her for dealing with journalists.

"They perfectly prepared me to deal with the White House press corps," she said on ABC's "The View." "I get to answer the same question all day long, and I've gotten pretty good at saying 'no.' So, I think my kids have been a perfect foundation for my job."

ADVERTISEMENT

In July, Sanders, who previously served as President Trump Donald John TrumpObama calls on Senate not to fill Ginsburg's vacancy until after election Planned Parenthood: 'The fate of our rights' depends on Ginsburg replacement Progressive group to spend M in ad campaign on Supreme Court vacancy MORE's deputy press secretary, became the first mother to hold the position after former press secretary Sean Spicer Sean Michael SpicerKellyanne Conway to leave White House at end of month Pro-Trump duo Diamond and Silk launch new program on Newsmax TV The Hill's 12:30 Report - Presented by Facebook - Supreme Court's unanimous decision on the Electoral College MORE resigned.

She has three children — a five-year-old, a three-year-old and a two-year-old.

Sanders said Wednesday that, because her children keep her awake "24/7," she's constantly poised to respond to reporters' questions at any time of day.

"I'm already up. As a parent, you're up 24/7 a day," she said. "So it's an easy transition."