Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Tried this out and got this result:

            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}))


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: