f-strings are also the fastest way to format a string in Python from what I've seen.
$ python3.12 -m timeit 'f"Welcome to {2 ** 3}."'
5000000 loops, best of 5: 69.8 nsec per loop
$ python3.12 -m timeit '"Welcome to {}.".format(2 ** 3)'
2000000 loops, best of 5: 112 nsec per loop
$ python3.12 -m timeit '"Welcome to %d." % 2 ** 3'
5000000 loops, best of 5: 82.2 nsec per loop
$ python3.12 -m timeit '"Welcome to " + str(2 ** 3) + "."'
5000000 loops, best of 5: 77.5 nsec per loop