Despite being at odds with other countries at the gathering in Canada, Mr Trump rated his relationship with their leaders as a "10" - naming Germany's Angela Merkel, French president Emmanuel Macron and Canada's Justin Trudeau, but not the UK's Prime Minister.
Nearly immediately after US President Donald J. Trump caused a major rift in the Euro-Atlantic alliance by castigating his closest allies in the UK, Canada, and Germany by refusing to endorse a communique that called for an worldwide, rules-based trade regime, Italian Prime Minister Giuseppe Conte joined Trump in further infuriating the Western alliance by for Russia's return to the global forum.
"No matter what fluctuations there are in the worldwide situation, China and Russian Federation have always firmly taken the development of relations as a priority", Xi told Putin.
For the past week, it was an open question in Ottawa whether Trump would actually show up, after he imposed the heavy tariffs. "Not fair to our farmers!", his Twitter feed states.
All very freaky, although pretty clever the way he was able to say the name "Russia" so many times in one little blurt.
Construction of the World Cup fan zone outside Moscow's top university is fuelling a rare protest in Russian Federation as students worry that the thousands of partying football fans will destroy one of the capital's few green spaces.
Putin also said they discussed Iran but didn't provide details.
Putin said on Sunday he thought it was important that the two men meet and said he shared Trump's concerns about the risks of an arms race developing between Russian Federation and the United States, something he said officials from the two countries needed to discuss.
"If we're unable to make a deal, we're better off", Trump said.
Meanwhile, there may never have been a president of the United States who is so unremittingly hostile to America's closest allies.
5 latest North Korea summit developments: What you missed overnight
The area includes the summit venue, Capella Hotel on Sentosa Island and the places around Shangri-La Hotel and the St. Kim , who met Singaporean Prime Minister Lee Hsien Loong on Sunday after arriving, thanked him for hosting the event.
"Canada does not believe that ad hominem attacks are a particularly appropriate or useful way to conduct our relations with other countries", Canadian foreign affairs minister Chrystia Freeland told reporters in Ottawa. Addressing the summit, Iranian President Hassan Rouhani, whose country has an observer status in the group, said that Iran would expect other participants in the nuclear deal to provide guarantees that they would honor the agreement.
"The American president may not mind being isolated", Macron tweeted, "but neither do we mind signing a 6-country agreement if need be".
But she stressed there are many areas where Canada is working closely and effectively together.
Trump was the last G7 leader to arrive and will probably be the first to leave on Saturday when he sets off for his nuclear summit with North Korea's Kim Jong Un in Singapore.
"I think one of the results of this G7 leaders' meeting will be to talk about the situation on the Korean peninsula and let the USA president know, and let the world know, that he will be travelling to Singapore to the meeting with the North Korea with the strong support of his allies", Freeland said.
Peter Navarro tells "Fox News Sunday" that's what Trudeau did to Trump at the end of the Group of Seven nations meeting in Canada over the weekend.
Putin, in China for an global conference, did not address the sanctions, but instead focused on Trump's goodwill.
"Pursuing the conversation. Engaging, keeping the dialogue alive, now & ever". He went on: "Whether you like it or not, and it may not be politically correct, we have a world to run".
Later in the evening, during a pre-scheduled photo op, Trudeau was asked about Trump's late tweets about the communique and whether the development could have an impact on the future of the G7. The point isn't that each of those deals was ideal, but to Trump they were disastrous primarily because they involved the United States joining with other countries in the hopes that everyone could emerge better off.
"I've been firm, I've been clear, but I don't think descending into insults is right for the way Canada engages with the world", the prime minister said. "And if it's not fixed, then we're not going to deal with these countries". "We'll see how it all works out".
Trump answered for Trudeau with a joke: "He's happy".