President Trump predicted Thursday that he would get a vote on a bill to repeal and replace Obamacare as early as next week, but held open the idea that it might take longer.

He also said Congress would vote on some measure to extend funding for the federal government next week.

"I wanna get both," Trump said at a press conference at the White House with Italian Prime Minister Paolo Gentiloni. "Are you shocked to hear that?"

Trump said Republicans were doing "very well" on a healthcare bill, "and we'll see what happens." He gave those answers just hours after Republicans were considering a new compromise that they hoped would bring centrist and conservative Republicans together.

Trump is pressuring Republicans to act as early as next week, in part to help deliver Trump a win on healthcare in his first 100 days in office.

"The plan gets better and better and better, and it's gotten really, really good, and a lot of people are liking it a lot," Trump said. "We have a good chance of getting it soon."

"I'd like to say next week, but I believe we will get it, whether it's next week or shortly thereafter."

Republicans are also on the hook for finding a way to keep the government open after April 28, when funding expires. But Trump indicated there was no risk of a partial government shutdown, by saying flatly that the funding would be extended.

"I think we want to keep the government open, don't you agree?" he said.