President Donald Trump and his predecessor Barack Obama spent their first 100 days in office doing starkly different things, and the end of the critical period for Mr Trump has brought frequent comparisons between the two.

While they were very different men inheriting very different political and economic climates, comparing the two illustrates their distinct styles of governing and priorities. Mr Obama, who came into office shortly after the 2008 economic downturn, needed to quickly move to stymie a haemorrhaging economy. Mr Trump, on the other hand, inherited a relatively strong economy and was able to focus more closely on his many difficult campaign promises.

Here’s a comparison of the two during the time by the numbers.

Number of countries visited

Mr Trump and Mr Obama clearly had different priorities when it came to visiting foreign governments. Mr Trump, who had campaigned heavily on domestic issues, started out saying that he planned a lighter foreign trip load than Mr Obama.

Mr Trump didn’t have a single out of country trip during his first 100 days while Mr Obama visited nine countries during the time, according to State Department records.

Number of executive orders signed

Although he frequently criticised Mr Obama for his use of executive orders while in office, Mr Trump relied on them heavily during his first 100 days to try and push through his policy goals. The White House said it will have signed 30 during that time while Mr Obama signed 29, according to the National Archives.

Donald Trump's first 100 days: in cartoons Show all 33 1 /33 Donald Trump's first 100 days: in cartoons Donald Trump's first 100 days: in cartoons Donald Trump's first 100 days in office were marred by a string of scandals, many of which caught the eye of the Independent's cartoonists Donald Trump's first 100 days: in cartoons Trump's first 100 days have seen him aggressively ramp up tensions with his nuclear rivals in North Korea Donald Trump's first 100 days: in cartoons Mr Trump has warned of a "major, major conflict" with the pariah nation lead by Kim Jong Un Donald Trump's first 100 days: in cartoons Mr Trump dropped the "mother of all bombs" on alleged ISIS-linked militants in Afghanistan, amid an escalation of US military intervention around the globe Donald Trump's first 100 days: in cartoons Mr Trump has been accused of falling short of the standards set by his predecessors in the Oval Office, including Franklin D Roosevelt Donald Trump's first 100 days: in cartoons The tycoon's ascension to the White House came at a time when the balance of power is shifting away from Western nations like those in the G7 group Donald Trump's first 100 days: in cartoons Western politicians, including the British Conservative party, have been accused of falling in line behind Mr Trump's proposals Donald Trump's first 100 days: in cartoons Brexit is seen to have weakened Britain, reducing still further any political will to resist American leadership Donald Trump's first 100 days: in cartoons Mr Trump's leadership has been marked by sudden and unexpected shifts in global policy Donald Trump's first 100 days: in cartoons Trump's controversial missile strike on Syria, which killed several citizens, was seen by some analysts as an attempt to distract from his policy elsewhere Donald Trump's first 100 days: in cartoons The President has also spent a large majority of his weekends golfing, rather than attending to matters of state Donald Trump's first 100 days: in cartoons Though free of gaffes, a visit from Chinese president Xi Jinping spotlighted trade tensions between the two states Donald Trump's first 100 days: in cartoons One major and unexpected setback came when Mr Trump's Healthcare Bill was struck down by members of his own party Donald Trump's first 100 days: in cartoons Mr Trump has been a figure of fun in the media, with his approval at record lows Donald Trump's first 100 days: in cartoons A string of revelations about Mr Trump's financial indiscretions did not mar his surge to the White House Donald Trump's first 100 days: in cartoons Outgoing President Barack Obama was accused of wiretapping Trump Tower by his successor in America's highest office Donald Trump's first 100 days: in cartoons The alleged involvement of Russian intelligence operatives in securing Mr Trump the presidency prompted harsh criticism Donald Trump's first 100 days: in cartoons The explosive resignation of Security Adviser Michael Flynn, who lied about his links to the Russian ambassador, was just one scandal to hit the President Donald Trump's first 100 days: in cartoons Many scandals, such as the accusation Barack Obama was implicated in phone-hacking, first broke on Mr Trump's Twitter feed Donald Trump's first 100 days: in cartoons Donald Trump's election provoked mass protests in the UK, with millions signing a petition to ban him from the country Donald Trump's first 100 days: in cartoons Donald Trump cited a non-existent terror attack in Sweden during a campaign rally Donald Trump's first 100 days: in cartoons Donald Trump stands accused of stoking regional tensions in Eastern Asia Donald Trump's first 100 days: in cartoons North Korea has launched a number of failed nuclear tests since Mr Trump took power Donald Trump's first 100 days: in cartoons Theresa May formally rejected the petition calling for Mr Trump to be banned from the UK Donald Trump's first 100 days: in cartoons When Mr Trump's initial so-called Muslim ban was struck down by a federal justice, the President mocked the 69-year-old as a "ridiculous", "so-called judge" Donald Trump's first 100 days: in cartoons A week after his inauguration, Theresa May met with Mr Trump at the White House Donald Trump's first 100 days: in cartoons Donald Trump's first days in office were marked by a hasty attempt to follow through on many of his campaign promises, including the so-called Muslim ban Donald Trump's first 100 days: in cartoons Donald Trump's decision to ban citizens of many majority-Muslim countries from the US sparked mass protests Donald Trump's first 100 days: in cartoons Revelations about Donald Trump's sexual improprieties were not enough to keep him from being elected President Donald Trump's first 100 days: in cartoons British PM Theresa May was criticised by many in the press for cosying up to the new President Donald Trump's first 100 days: in cartoons One of Mr Trump's top aides, Kelly Anne Conway, was mocked for describing mistruths as "alternative facts" Donald Trump's first 100 days: in cartoons British PM Theresa May was quick to demonstrate that her political aims did not hugely differ from Mr Trump's Donald Trump's first 100 days: in cartoons Donald Trump's inauguration, on 20 January 2017, sparked protests both at home and abroad

Total number of bills signed

Mr Trump has signed at least 28 bills during his first 100 days in office. Mr Obama signed 11.

Number of significant legislative victories

Mr Trump may have signed more total bills during his first 100 days but he has struggled to secure any landmark legislative victories. Although Republicans control both chambers of Congress, the Trump administration has suffered stinging losses in its efforts to deliver on some of its more ambitious campaign promises such as repealing and replacing the Affordable Care Act. When asked in April to name a single significant legislative achievement, White House Press Secretary Sean Spicer couldn’t do it.

Mr Obama on the other hand got Congress to pass a $787bn stimulus package and signed the Lilly Ledbetter Fair Pay Act to prohibit sex-based wage discrimination, and signed legislation expanding the State Children’s Health Insurance Program.

Trump's most controversial tweets

Approval rating at the end of 100 days

Mr Trump’s approval rating nearing the end of his presidency had sunk below 40 per cent, the lowest in modern polling history, according to Gallup. Mr Obama finished his first 100 days with a 65 per cent approval rating, the highest rating at that time since former President Ronald Reagan.

Cost of personal travel

Mr Trump has dwarfed the personal travel costs of Mr Obama. While it is difficult to determine exactly how much Mr Trump has spent on travel to his Mar-a-Lago, Florida, resort – there hasn’t been an official analysis of the costs – an analysis of a similar trip taken by Mr Obama to Florida during his presidency provides a close estimate.

The US Government Accountability Office analysed a 2013 trip Mr Obama took to Florida by way of Chicago and determined that the costs, including financing Air Force One and Coast Guard protection, came out to about $3.6m (£2.8m). That itinerary is fairly close to the costs Mr Trump’s frequent weekend trips would likely incur, bringing the estimated costs for private travel during his first 100 days to more than $21.6m.

Mr Obama, on the other hand, spent far less time outside of the White House on personal trips during his presidency. His total private trips cost during his two terms was $96.9m, according to an analysis by the conservative non-profit Judicial Watch. That figure, though, also includes several million dollars worth of travel expenses for official presidential trips, including an Earth Day trip to the Florida Everglades in 2015 when Mr Obama discussed climate change, and his historic 2016 trip to Cuba.

Number of days on private retreat from the White House

Mr Trump frequently takes trips to his Mar-a-Lago resort where he has been seen playing golf. Finishing off his first 100 days, he had spent at least 25 days away from the White House.

Mr Obama spent one weekend, or four days, away from the White House on a private retreat during that time.

Number of days spent playing golf

Mr Trump, as a private citizen, frequently criticised Mr Obama for the amount of time he spent golfing. But, during his first 100 days the President has golfed much more than his predecessor during that time. While the exact number is difficult to determine because most of the information comes from pictures of sightings posted online, Mr Trump has spent at least 19 days golfing. Mr Obama didn’t golf at all during that time and didn’t hit the links until four months into his presidency, according to an analysis by the New York Times.

Number of tweets sent from their private accounts

Mr Trump is known for his prolific tweeting and sent more than 194 tweets from his private account during his first 100 days. Mr Obama’s private Twitter account sent out just one during his presidency, and it didn’t appear to be written by the President himself.

Number of late night television shows visited