import json presidents = ["Biden", "Obama", "Bush", "Clinton", "Carter"] limerick = "There once were presidents five, " \ "Biden, Obama, Bush, Clinton, and Carter alive. " \ "They served our country with pride, " \ "And kept our democracy alive. " \ "May they continue to thrive!" print(json.dumps({"limerick": limerick, "presidents": presidents}))