WASHINGTON — The United States government sputtered back to life Thursday after President Obama and Congress ended a 16-day shutdown, reopening tourist spots and clearing the way for federal agencies to deliver services and welcome back hundreds of thousands of furloughed workers.

Across the country, the work and play of daily life, stalled for more than two weeks, resumed at federal offices, public parks, research projects and community programs. Museums opened their doors. Federal money for preschool programs started flowing again. Scientists at the South Pole began ramping up their work.

And the National Zoo’s panda cam flickered on again (though a flood of online visitors soon crashed it).

For Shafiqullah Noory, on his first trip to the United States from Afghanistan, the legislative deal came just when he needed it. Sitting on the steps of the Lincoln Memorial, admiring the view of the Washington Monument, he said he knew why Abraham Lincoln had been an important leader.