demo_ref_string_ljust2.py:
txt = "banana" x = txt.ljust(20, "O") print(x)
C:\Users\My Name>python demo_string_ljust2.py
bananaOOOOOOO