Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
txt = "banana,,,,,ssqqqww....." x = txt.rstrip(",.qsw") print(x)
banana