Simple way to display a variable on Unicorn Hat HD

I know this is an old thread but I found something I consider very interesting.
I just got a Unicorn Mini and was playing around with the example code.
If I use
text = time.strftime("It's %A %B %-d %-I:%M %p")
I get “It’s Tuesday June 16 5.21 PM” displayed in the scrolling message.

And

        T = bme280.get_temperature() 
        T = round(T)

        text = ("and the Temperature is %sc") % (T)

gets me a “and the Temperature is 27c” message. =)