RE: Python Libraries: Simple... Display your Splinterlands DEC

avatar

You are viewing a single comment's thread:

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')


0
0
0.000
0 comments