JULIA GILLARD cited her single, childless and atheistic status as an obstacle with which she has had to contend while urging the business community not to write off her or her government.

The speech to a private fund-raising function in Sydney last week was attended by members of her cabinet and the business and industry community.

The first black president and the first female prime minister - who has it tougher? Credit:Reuters

According to people at the function, held at Pyrmont on Thursday night, a candid Ms Gillard regaled guests with a joke she often shares with the US President, Barack Obama, when they meet and discuss the prejudices they experience.

''I'm good mates with Barack Obama,'' Ms Gillard was quoted as saying.