You can also use Unicode as fill sign.
Another good documentation is https://pyformat.info/.
The f-strings are not explained there, but this is the same syntax as for format.
print('{:\N{FACE WITH OPEN MOUTH VOMITING}^30}'.format('Corona'))Alternative
"Corona".center(30, "\N{BEER MUG}")https://docs.python.org/3/library/stdtyp...ng-methods
Another good documentation is https://pyformat.info/.
The f-strings are not explained there, but this is the same syntax as for format.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!