Perfect and now working.. thanks!. So quotes can go inside the squiggles and are not interpreted as variable data if enclosed with quotes.. interesting. I couldn't find a single example of this on the net.
You are viewing a single comment's thread from:
It can be expressions like this. Probably other ways to do it. Just need to use different quotes in the {} to those around the whole string.
for n in range(20,0,-1): print(f'{"*"*n:20} bottles of beer')