I have the following list:
["Jargon", "Hello", "This", "Is", "Great"]
I want to populate a string with:
"""
{}
""".format(list-elements-besides-the-first)
Is there a simple one liner I could use to make it such that I can:
"""
{}
""".format("\n".join(items[1:]))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With