"But she now has to turn her focus immediately back to the Brexit negotiations while presiding over an angry and restive party and with serious doubts as to whether she will lead the party into the next election, whenever it takes place", he said.
Speaking outside 10 Downing street after visiting Buckingham Palace this afternoon, May said she would work with "friends and allies" in the Democratic Unionist Party to take forward Brexit, saying "let's get to work".
Her principal goal was to beef up her majority before the forthcoming Brexit negotiations and she failed.
She said talks with Britain on its withdrawal from what will now be the 27-member European Union would start "in the coming days".
British Prime Minister Theresa May has announced she will form a new government with the help of her "friends" in Northern Ireland's Democratic Unionist Party after an election debacle that resulted in her Conservative Party losing its parliamentary majority.
Trump, who was answering a shouted question from a reporter during an Oval Office photo opportunity, did not expand on his comment.
Davidson, one of the few Conservatives to emerge as a victor from the election after she increased the party's presence in Scotland, said she had demanded, and received, "categoric assurance" from May that the policy would not change.
German Chancellor Angela Merkel said she assumed Britain still wanted to leave the European Union and that talks must start quickly.
The exit poll also shows one seat for the environmentalist Green Party and three for the left of center Welsh nationalist party Plaid Cymru, both potential partners for Labour.
The BBC's latest projections predict the Conservatives will get 318 of Parliament's 650 seats, meaning the party would struggle to govern alone. Conservatives continue to be the largest party in the UK.
Sterling plunged against the dollar and the euro as the election result created even more uncertainty over the whole Brexit process.
Of the agreement she said: "This will allow us to come together as a country and channel our energies towards a successful Brexit deal that works for everyone in this country, securing a new partnership with the European Union which guarantees our long-term prosperity".
The blame-game has started within the Conservative Party.
The Tory Party opted for a coalition government with the Liberal Democrats in 2010, the last time a hung parliament occurred.
"I think her position is, in the long term, untenable", Conservative lawmaker Anna Soubry told Sky News. "Theresa May has put Brexit in jeopardy".