_log(f”My variable is {x + y}”)
Reads to me a lot more fluently to me than _log(“My variable is {}”.format(x+y))
or _log(“My variable is {z}”.format(z=x+y))
It’s nothing too profound. _log(f”My variable is {x + y}”)
Reads to me a lot more fluently to me than _log(“My variable is {}”.format(x+y))
or _log(“My variable is {z}”.format(z=x+y))
It’s nothing too profound.