I want to achieve something similar to:
user = "The Great User"
text = "Hello {%s}" % user
Output:Hello {The Great User}
but using .format(). How do I do this? (Note I want brackets around the user)
I want to achieve something similar to:
user = "The Great User"
text = "Hello {%s}" % user
Output:Hello {The Great User}
but using .format(). How do I do this? (Note I want brackets around the user)