I can print(‘#’*5)
to >>> #####.
But if I try to do this with f-string like
a=5
print(f” ‘#’*{a}”)
I get >>> ‘#’*5
.
Is this not possible, or what is my failure?
I can print(‘#’*5)
to >>> #####.
But if I try to do this with f-string like
a=5
print(f” ‘#’*{a}”)
I get >>> ‘#’*5
.
Is this not possible, or what is my failure?