PY PY TAPPORT D'APPORT

mystr = "peter"
width = 10
filler = '*'

print(f'Output: {mystr:{filler}<{width}}')
# -> 'Output: peter*****'

print(f'Output: {mystr:{filler}>{width}}')
# -> 'Output: *****peter'
Kesuaheli