I want to write something as simple as
"{}MESSAGE{}".format("\t"*15, "\t"*15)
using
f"{'\t'*15}MESSAGE{'\t'*15}" # This is incorrect
but I get the following error:
>>> something = f"{'\t'*6} Weather"
File "<stdin>", line 1
SyntaxError: f-string expression part cannot include a backslash
>>> something = f"{\'\t\'*6} Weather"
File "<stdin>", line 1
SyntaxError: f-string expression part cannot include a backslash
How can I do this?